claude-code
Skill by NousResearch
Delegates coding tasks to the Claude Code CLI from Hermes, covering feature work, pull requests, refactoring and code review. Built for developers who want an AI assistant to run Claude Code in print mode or in a tmux-based interactive session.
Install claude-code
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NousResearch/hermes-agent /tmp/hermes-agent && mkdir -p ~/.claude/skills && cp -r /tmp/hermes-agent/skills/autonomous-ai-agents/claude-code ~/.claude/skills/claude-codeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NousResearch/hermes-agent /tmp/hermes-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hermes-agent/skills/autonomous-ai-agents/claude-code ~/.gemini/antigravity-cli/skills/claude-codeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The claude-code skill lets an AI assistant delegate coding work to Claude Code, Anthropic's autonomous coding agent CLI, through the Hermes terminal. According to the source, Claude Code can read files, write code, run shell commands, spawn subagents and manage git workflows on its own. The guide covers installation, login options, status and health checks, and updates, so the assistant can set up the CLI before handing off a task.
The skill describes two modes. Print mode (-p) runs a one-shot task, returns the result and exits, and is preferred for most tasks, including CI and scripting. Interactive mode runs in tmux for multi-turn sessions and includes steps for handling workspace trust and permission prompts. It suits developers who want Claude Code work driven from Hermes, from one-off fixes to iterative refactor, review and test cycles.
Written from the project's SKILL.md and checked against it.
What it can do
- Print mode tasksRuns a one-shot Claude Code task with claude -p and returns the result.
- Interactive tmux sessionsDrives a multi-turn Claude Code REPL inside a tmux session.
- Permission prompt handlingReads each approval prompt before answering it, rather than sending blind Enter presses.
- Structured outputReturns JSON results, streaming JSON, and output checked against a JSON schema.
- Session continuationResumes, continues or forks earlier Claude Code sessions by ID or most recent.
- Bare mode for CIRuns Claude Code with hooks, plugins and MCP discovery skipped for faster scripted runs.
- Setup and health checksCovers install, login status, claude doctor, updates and MCP server commands.
What you need
- Claude Code CLI installed with npm (npm install -g @anthropic-ai/claude-code)
- Anthropic login through browser OAuth for Pro or Max, or an ANTHROPIC_API_KEY
- tmux for interactive multi-turn mode
- Linux, macOS or Windows
Try asking
- Fix the failing tests in src/ using Claude Code in print mode
- Refactor the auth module to use JWT tokens in my project
- Resume my last Claude Code session and add unit tests
Good to know
- Print mode skips all interactive dialogs, including permission confirmations.
- The skip-permissions flag should only be used inside an isolation boundary such as a container or VM.
- A git worktree isolates file edits only and is not a filesystem, network or credential sandbox.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/autonomous-ai-agents/claude-code/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md35 KB
Alternatives to claude-code
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
claude-code: common questions
Does this skill use print mode or interactive mode?
The skill prefers print mode (-p) for most one-shot tasks. Interactive mode runs in tmux for multi-turn work that needs follow-up prompts.
Does Claude Code run without permission prompts?
Print mode skips interactive dialogs. The source says --dangerously-skip-permissions is opt-in and should only be used in isolated environments.
Which operating systems are supported?
The skill metadata lists linux, macos and windows as supported platforms.
How do I install claude-code?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is claude-code free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is claude-code safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to claude-code?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
