Llm Cli
Provides LLMs guidance and assistance for building AI and machine learning applications.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add llm-cli npx -- -y @trustedskills/llm-cli
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"llm-cli": {
"command": "npx",
"args": [
"-y",
"@trustedskills/llm-cli"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The llm-cli skill provides a command-line interface to interact with Large Language Models (LLMs). It allows you to execute prompts, manage API keys, and retrieve responses directly from the terminal. This simplifies LLM interaction for developers and those comfortable with command-line tools.
When to use it
- Rapid prototyping: Quickly test different prompts and configurations without needing a full application framework.
- Automation scripts: Integrate LLM calls into shell scripts or other automation workflows.
- Command-line experimentation: Explore the capabilities of various LLMs directly from your terminal.
- API key management: Securely store and access API keys for different LLM providers.
Key capabilities
- Prompt execution against LLMs
- API key storage and retrieval
- Terminal-based interaction with LLMs
- Command-line interface
Example prompts
llm-cli "Write a short poem about cats."llm-cli --api-key my_openai_key "Translate 'Hello, world!' to French."llm-cli --model davinci "Summarize this article: [paste article text here]"
Tips & gotchas
- Ensure you have a compatible shell environment (e.g., Bash, Zsh) for proper execution.
- API keys are sensitive; protect them and avoid committing them to public repositories.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.