AgentStack
SKILL verified MIT Self-run

Claude Inline

skill-ccppvv-agent-skills-claude-inline · by ccppvv

>

No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add skill-ccppvv-agent-skills-claude-inline

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Claude Inline? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Claude Inline

Launch Claude Code CLI with custom ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY environment variables. Useful for connecting to custom endpoints (OpenRouter, local proxies, etc.).

Configuration

Store defaults in ~/.workbuddy/skills/claude-inline/config.json:

{
  "baseurl": "https://openrouter.ai/api/v1",
  "apikey": "sk-...",
  "model": "anthropic/claude-3-5-sonnet"
}
  • baseurl — custom API base URL
  • apikey — API key for the endpoint
  • model — (optional) model to use via ANTHROPIC_MODEL

If config file exists, use its values as defaults. CLI arguments override config values.

Usage

Parse user input

Accept baseurl and apikey from:

  1. Explicit arguments in the user's message (e.g., baseurl=xxx apikey=xxx)
  2. The config file at ~/.workbuddy/skills/claude-inline/config.json
  3. Ask the user if neither is available

Print the launch command

Construct and print the command. Do NOT execute it — only print for the user.

Interactive mode (default):

ANTHROPIC_BASE_URL="" ANTHROPIC_API_KEY="" claude

Non-interactive mode (with -p flag):

ANTHROPIC_BASE_URL="" ANTHROPIC_API_KEY="" claude -p ""

With model override:

ANTHROPIC_BASE_URL="" ANTHROPIC_API_KEY="" ANTHROPIC_MODEL="" claude

Save config (optional)

If the user provides baseurl/apikey and it differs from the config, ask if they want to save it as the new default. Write to the config file if confirmed.

Notes

  • Claude Code CLI must be installed separately (npm install -g @anthropic-ai/claude-code)
  • The ANTHROPIC_BASE_URL must be a fully qualified URL (include https://)
  • For OpenRouter: ANTHROPIC_MODEL should be set to the model ID (e.g., anthropic/claude-3-5-sonnet-20241022)
  • Always wrap URL and key in double quotes to handle special characters

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.