claude-agent
Run Claude Code CLI headless as an independent coding agent for implementation, investigation, planning, or review in a local workspace.
Skill by ejarmand
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ejarmand-claude-agent
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/claude-agent
What's inside
- Skill name
claude-agent- Description
- Run Claude Code CLI headless as an independent coding agent for implementation, investigation, planning, or review in a local workspace. Use when asked to delegate work to a separate Claude session, capture a Claude session ID, or resume and continue an earlier headless Claude run.
- License
- MIT
- Instructions
- 82 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- openai.yaml · agents/
- settings.json · profiles/github-pr-reviewer/
SKILL.md (first lines)
# Claude Agent Run `claude -p` from the intended workspace, give it a bounded outcome, monitor it at the task's time scale, and preserve its session ID when follow-up work is likely. Read `/cross-provider-agent` first and apply its doctrine to the whole dispatch; this skill is only the Claude transport. ## Check the CLI and authentication Treat installed help as authoritative because Claude Code evolves: ```bash claude --version claude --help ``` If a run fails with an authentication error, ask the user to run `claude` interactively and `/login`. Never display, copy, or embed authentication files or tokens. ## agent permissions Use the least authority that completes the task. Default analysis, planning, and review to `--permission-mode plan`; for authorized implementation drop it and grant the task's specific needs with `--allowedTools`. Never add `--dangerously-skip-permissions` merely to make a run unattended. ## Start a worker Run from the intended workspace directory — the working directory is the workspace. ```bash cd /absolute/path/to/workspace && claude -p --output-format json \ --permission-mode plan \ "[message]" ``` ## Capture the session ID When the ID must be known even if the first turn is interrupted, allocate it up front and pass it with `--session-id "$(uuidgen)"`. Otherwise read `session_id` from the terminal result object. ## Resume a session Resume with `--resume "$claude_session_id"`. Use `--continue` only when continuing the most recent conversation is unambiguous. Add `--fork-session` when the follow-up must not extend the original session's history. ## Monitor and verify On completion require a zero exit status and `"is_error": false` in the result object; the `result` field contains the worker's response. ## Profiled dispatch ```bash cd /absolute/path/to/workspace && claude -p --output-format json \ --settings /absolute/path/to/claude-agent/profiles/github-pr-reviewer/settings.json \ --setting-sources "" \ --plugin-dir /absolute/path/to/skills-repo \ "REVIEW_TASK" ``` `--setting-sources ""` keeps pre-existing configuration from widening the child's authority, but also unloads installed skills, so `--plugin-dir` loads the skills repository root — always the repo that provides this adapter, never the workspace under review. Cite skills by namespaced name (`skills-repo:code-review`); the bare name resolves to Claude's bundled code-review, which rejects model invocation. ### available profiles **github-pr-reviewer** : `profiles/github-pr-reviewer/settings.json` encodes the profile from `/cross-provider-agent` as pure permission rules: `dontAsk` default mode (auto-denies anything not pre-approved, so a headless run never stalls on a prompt), narrow allows for workspace reads and the profile's `gh` surface, and explicit denies for the nearby writes.
From ejarmand/skills, MIT.
More from ejarmand/skills
- 0.592score
cursor-agent
ejarmand
Run Cursor Agent CLI as an independent coding agent for implementation, investigation, planning, or review in a local workspace.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
opencode-agent
ejarmand
Run OpenCode CLI as an independent coding agent across its provider catalog, capture its session, or dispatch its profiled GitHub PR reviewer.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
pr-ping-pong
ejarmand
Drive an issue or pull request through alternating rallies of implementation and cross-provider review until it is review-clean.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
file-pr
ejarmand
Structure GitHub pull requests, issues, and comments.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
code-review
ejarmand
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillAFreshness: A★ 1Claude Code +9 - 0.559score
improve-codebase-architecture
ejarmand
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
codex-agent
ejarmand
Run Codex CLI as an independent coding worker for implementation, investigation, planning, or review, then monitor and verify its result.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
fix-steering
ejarmand
Analyze Codex history for interruptions, corrections, and user steering that indicate agent errors.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
html-visualization
ejarmand
Build, revise, and evaluate browser-rendered HTML visualizations for concepts, systems, codebases, architectures, workflows, timelines, comparisons, and other…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
codebase-design
ejarmand
Shared vocabulary for designing deep modules, and home of the unified code standard (STANDARD.md).
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
cross-provider-agent
ejarmand
Dispatch a bounded task to a Claude, Codex, Cursor, or OpenCode CLI agent with least authority.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
implement
ejarmand
Implement a prepared spec or set of tickets.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 20
- Last commit (this folder)
- Aug 2, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ejarmand/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ejarmand
- 0.592score
cursor-agent
ejarmand
Run Cursor Agent CLI as an independent coding agent for implementation, investigation, planning, or review in a local workspace.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
opencode-agent
ejarmand
Run OpenCode CLI as an independent coding agent across its provider catalog, capture its session, or dispatch its profiled GitHub PR reviewer.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
pr-ping-pong
ejarmand
Drive an issue or pull request through alternating rallies of implementation and cross-provider review until it is review-clean.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
file-pr
ejarmand
Structure GitHub pull requests, issues, and comments.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
code-review
ejarmand
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillAFreshness: A★ 1Claude Code +9 - 0.559score
improve-codebase-architecture
ejarmand
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
claude-agent skill. Agent Mart. https://agentmart.dev/skills/ejarmand-claude-agent (last updated 2026-10-24)