joogy06/agent-foundry/claude-code-cli

Claude Code and agent skill by joogy06/agent-foundry

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when working with the Claude Code CLI (`claude`) — headless and interactive modes, flags, agents, plugins, MCP servers, hooks, settings, sessions, and the local custom ecosystem (forge, bob, alf, pa, wiki, agent-teams). Covers Claude Code 2.1.x. Refresh of the upstream `superpowers:working-with-claude-code` reference plus local-environment additions.

Install

npx vskill@latest install joogy06/agent-foundry/claude-code-cli

SKILL.md

Claude Code CLI

Task-indexed reference for Claude Code 2.1.170 (and the 2.1.x line in general). Forked from the superpowers working-with-claude-code skill at v0.3.1, refreshed against local ground truth, and extended with custom files that document this machine's forge/bob/alf/pa/wiki ecosystem.

This SKILL.md is the navigation index. Detailed documentation lives in references/. Read only what the current task needs.

When to use

  • Building anything that calls claude from the shell or a script (headless -p mode)
  • Authoring or debugging Claude Code agents, skills, plugins, hooks, MCP servers
  • Editing ~/.claude/settings.json, ~/.claude/CLAUDE.md, ~/.claude/AGENTS.md
  • Cross-referencing Claude Code features against Antigravity CLI (agy), Codex CLI, or GitHub Copilot CLI (see antigravity-cli, gh-copilot-cli, cross-tool-portability sub-skill)
  • Operating inside the local custom ecosystem (forge, bob, alf, pa, wiki, agent-teams)

Versions covered

ComponentVersion (verified locally 2026-06-10)
Claude Code CLI2.1.170
Plugin: superpowers (source for forked references)0.3.1
Codex plugin1.0.2

When the local claude version drifts from this skill, run scripts/verify-claude-install.sh to flag stale sections.

Quick task index

Headless / scripted invocation
TaskRead
Run a one-shot prompt and exitreferences/headless.md, references/cli-reference.md
Pipe data in / out as JSONreferences/headless.md (--input-format, --output-format, --json-schema)
CI-safe minimal mode (no hooks, no auto-memory, strict API key)references/headless.md (--bare section)
Cap session $ spendreferences/headless.md (--max-budget-usd)
Pin a pre-defined agent for a single invocationreferences/sub-agents.md (--agent, --agents)
Pick the model / fallback modelreferences/model-config.md
Interactive use
TaskRead
Slash commands, key bindings, modesreferences/interactive-mode.md, references/slash-commands.md
Output styles, statuslinereferences/output-styles.md, references/statusline.md
Resume / fork / continue sessionsreferences/cli-reference.md (--resume, --continue, --fork-session, --session-id)
Built-in git worktreereferences/cli-reference.md (-w/--worktree, --tmux)
Agents and skills
TaskRead
Author an agent (~/.claude/agents/<name>.md)references/sub-agents.md
Author a skill (~/.claude/skills/<name>/SKILL.md)references/skills.md + the cross-tool-portability sub-skill of research-for-skills
Cross-tool skill that must work in Antigravity (agy)/Codex/Copilotresearch-for-skills/cross-tool-portability/cross-tool-portability.md
Skill discovery / progressive disclosurereferences/skills.md
Orchestration, teams, tasks, scheduling
TaskRead
Workflow tool — script-driven multi-agent orchestration (agent(), pipeline(), parallel(), budget, journal resume)references/orchestration.md
Saved/named workflows (.claude/workflows/, ~/.claude/workflows/)references/orchestration.md
Effort levels (low→max) and ultracode (v2.1.160+)references/orchestration.md
Session cron (CronCreate/CronList/CronDelete), /loop pacing (ScheduleWakeup), RemoteTrigger, /schedule cloud routines, /goalreferences/orchestration.md
Why a subagent cannot fan out (Agent/Workflow = main loop ONLY) and the invert-control patternreferences/orchestration.md (KEY ASYMMETRY section)
Native agent teams (TeamCreate/SendMessage — experimental, env-gated)references/native-teams-tasks.md
Native task lifecycle (TaskCreate/TaskList/TaskGet/TaskUpdate/TaskStop/TaskOutput, Monitor)references/native-teams-tasks.md
Teammate hooks (TeammateIdle/TaskCreated/TaskCompleted)references/native-teams-tasks.md
Background agents (run_in_background, claude agents Agent View, claude --bg --exec, worktrees + EnterWorktree)references/native-teams-tasks.md
Native teams vs the portable file-based agent-teams skillreferences/native-teams-tasks.md
Plugins and marketplaces
TaskRead
Install/uninstall/enable/disable a pluginreferences/plugins.md, references/cli-reference.md (plugin subcommands)
Add a marketplacereferences/plugin-marketplaces.md
Plugin component reference (commands, agents, skills, hooks, MCP, statuslines)references/plugins-reference.md
Validate a plugin in developmentclaude plugin validate <path> (see references/plugins.md)
MCP servers
TaskRead
Add a stdio/http/sse MCP serverreferences/mcp.md (claude mcp add, add-json)
Use a project-local MCP configreferences/mcp.md (--mcp-config, --strict-mcp-config)
Reset per-project MCP choicesclaude mcp reset-project-choices
Build your own MCP serveruse the mcp-server-creator skill
Hooks and settings
TaskRead
Settings.json schemareferences/settings.md
Hooks lifecycle, events, matchersreferences/hooks.md, references/hooks-guide.md
Override settings at the CLI--settings, --setting-sources (see references/cli-reference.md)
Stream hook events to JSON--include-hook-events --output-format=stream-json
Memory, context, files
TaskRead
CLAUDE.md hierarchy and importsreferences/memory.md
Add context dirs / extra files--add-dir, --file (see references/cli-reference.md)
Custom system prompt--system-prompt, --append-system-prompt
Checkpoints (auto-save / restore)references/checkpointing.md
Authentication and providers
TaskRead
API key / OAuth / tokenreferences/iam.md, claude auth subcommands
Long-lived setup tokenclaude setup-token
Amazon Bedrockreferences/amazon-bedrock.md
Google Vertex AIreferences/google-vertex-ai.md (CLAUDE_CODE_USE_VERTEX=1)
Custom LLM gatewayreferences/llm-gateway.md
Cost, analytics, monitoring
TaskRead
What sessions cost and how it's measuredreferences/costs.md
Where data goesreferences/data-usage.md
Analytics exportreferences/analytics.md
Monitoring usage in CIreferences/monitoring-usage.md
Editor / IDE integrations
TaskRead
VS Code integrationreferences/vs-code.md
JetBrains pluginreferences/jetbrains.md
Dev containersreferences/devcontainer.md
GitHub Actionsreferences/github-actions.md
GitLab CI/CDreferences/gitlab-ci-cd.md
Third-party integrationsreferences/third-party-integrations.md
Compliance, security, networking
TaskRead
Permission modes (acceptEdits, auto, bypassPermissions, default, dontAsk, plan)references/security.md, references/cli-reference.md
IAM / token scopes / rolesreferences/iam.md
Egress allow-list / firewallreferences/network-config.md
Terminal configreferences/terminal-config.md
Legal / compliancereferences/legal-and-compliance.md
Migration from older versionsreferences/migration-guide.md
Troubleshootingreferences/troubleshooting.md
Custom local ecosystem (this machine only)

These are not documented in upstream superpowers — they are specific to this user's setup.

TaskRead
Forge → bob → agent-teams → team-manager → specialists workflowreferences/custom-ecosystem.md
Hard-rules checklist before spawning agentsreferences/custom-ecosystem.md (Hard Rules section)
MEMORY index, project context (PROJECT.md, history.md, tasks.md)references/custom-ecosystem.md (Memory + Project Docs sections)
119-skill library, _meta inventoryreferences/custom-ecosystem.md (Skills section)
Cross-CLI orchestration: Claude + Codex + Antigravity (agy) in parallelreferences/cross-tool-integration.md
What changed since the Jan 2026 superpowers snapshotreferences/upgrades-since-jan-2026.md

Permission modes (verified from claude --help)

Six modes, exactly:

ModeBehaviour
defaultAsk before each tool call
acceptEditsAuto-allow file edits, ask for everything else
autoRun the auto-mode classifier (see claude auto-mode)
dontAskAllow tool calls without prompting (use with --allowedTools)
bypassPermissionsSkip permission checks entirely (sandbox/trusted dirs only)
planRead-only planning mode

--allow-dangerously-skip-permissions is a separate opt-in flag and should only be used in sandboxes with no internet access.

Top-level subcommands (verified)

agents Manage background agents (Agent View dashboard; --json for scripting)
auth Manage authentication (login/logout/status)
auto-mode Inspect auto mode classifier configuration
doctor Check Claude Code auto-updater health
install Install Claude Code native build
mcp Configure and manage MCP servers
add | add-json | get | list | remove | serve | reset-project-choices
plugin Manage Claude Code plugins
install | uninstall | enable | disable | list | update | validate
marketplace { add | list | remove | update }
project Manage Claude Code project state (purge: delete transcripts/tasks/file history/config)
setup-token Set up a long-lived authentication token
ultrareview Run a cloud-hosted multi-agent code review of the current branch / a PR (--json, --timeout)
update Check for updates and install if available

Verified against claude --help on 2.1.170 (2026-06-10). agents is the background-agent Agent View (see references/native-teams-tasks.md), not a list of configured subagents. Use claude agents --help for the current sub-options on this machine.

Headless (-p) cheat sheet

bash
# One-shot prompt, plain text
claude -p "summarize this file" < notes.md
# JSON output for scripts
claude -p --output-format json "list TODOs in this repo"
# Strict structured output
claude -p --output-format json \
--json-schema '{"type":"object","properties":{"todos":{"type":"array","items":{"type":"string"}}},"required":["todos"]}' \
"list TODOs"
# Stream-json for incremental processing
claude -p --output-format stream-json --include-partial-messages "long task here"
# CI-safe minimal mode
ANTHROPIC_API_KEY=$KEY claude --bare -p "lint this file" \
--add-dir . --settings ./ci-settings.json
# Pin a pre-defined agent for the call
claude -p --agent reviewer "review the diff in this branch"
# Inline custom agent
claude -p --agents '{"redactor":{"description":"Redacts secrets","prompt":"You are a secret redactor."}}' \
--agent redactor "redact secrets from this file"
# Cap spend
claude -p --max-budget-usd 0.50 "research X and report"

See references/headless.md for the full surface.

Anti-patterns

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/joogy06/agent-foundry/claude-code-cli/badge)](https://verified-skill.com/skills/joogy06/agent-foundry/claude-code-cli)

Something wrong with this skill or its page? Tell us.