AGENT SKILL
llm
Use this skill when the user wants to prompt an LLM from the command line, pipe content through a model, manage API keys/templates, or embed text for similarity search.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- llm
- description
- Use this skill when the user wants to prompt an LLM from the command line, pipe content through a model, manage API keys/templates, or embed text for similarity search.
03 SKILL.md 正文
llm Plugin
llm is Simon Willison's unix-friendly LLM CLI. Pipe text to any model, save prompt templates, log every conversation to SQLite, and build embedding collections — extended by a large plugin ecosystem.
Commands
Prompting
llm prompt run— Send a prompt to the default model (stdin is appended to the prompt)llm embed run— Embed text/files into a collectionllm _ _— Passthrough (llm chat,llm similar,llm schemas,llm install)
Management
llm self version— Show versionllm models list— List models (--optionsshows per-model options)llm plugins list— List installed pluginsllm keys manage—keys list,keys set <name>,keys pathllm templates list— List stored prompt templatesllm logs list— Conversation history (-n 10,--json,-m <model>)
Usage Examples
- "Summarize this file with GPT-4o"
- "Set my Anthropic API key in llm"
- "Show my recent llm prompts"
- "Embed these docs for similarity search"
Installation
pipx install llm
# or: pip install llm / brew install llm / uv tool install llm
Examples
# Pipe a file through a system prompt
cat app.py | supercli llm prompt run -s "Find bugs" -m gpt-4o
# Extract structured data
supercli llm prompt run "Who wrote Hamlet?" --schema "name, year:int"
# Save and reuse a template
supercli llm --system "Summarize as bullet points" --save bullets
cat doc.md | supercli llm -t bullets
# Set keys and extend with plugins
supercli llm keys manage set anthropic
supercli llm _ _ install llm-gemini llm-ollama
# Embeddings
supercli llm embed run docs README.md -d docs.sqlite3
supercli llm _ _ similar docs -d docs.sqlite3 -c "how to install"
Key Features
- Model plugins:
llm-anthropic,llm-gemini,llm-ollama,llm-mlx, and more --schemaextracts structured JSON from unstructured text-t/--templatereusable system+model prompts,llm chatfor multi-turn- Every call is logged to SQLite — query with
llm logsor Datasette llm embed/llm similar/llm embed-multibuild local embedding search- Fragments (
-f) attach files, URLs, and previous logs to a prompt
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57