Agent skill

Claude Code

by RedWoodOG in RedWoodOG/Hermes-Desktop

Delegate coding tasks to Claude Code (Anthropic's CLI agent).

MITAuto-check passedDevelopment

Install Claude Code

skills CLI
$ npx skills add RedWoodOG/Hermes-Desktop --skill claude-code -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install RedWoodOG/Hermes-Desktop claude-code --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/RedWoodOG/Hermes-Desktop.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/autonomous-ai-agents/claude-code .claude/skills/claude-code && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
claude-code
GitHub stars
177
Used in
4 other repos
Token cost
~784 tokens
SKILL.md length
187 words
Files
1
Skills in repo
62
Repo updated
First seen
Licence
MIT

At a glance

Delegate coding tasks to Claude Code (Anthropic's CLI agent).

  • Works in 5 steps: Always use pty=true — Claude Code is an… → Use workdir — keep the agent focused on… → Background for long tasks — use… → …
  • Building features
  • SKILL.md covers Prerequisites, One-Shot Tasks, Background Mode (Long Tasks) and PR Reviews, plus 3 more sections
  • Calls claude, git and gh; reaches github.com

What it does

Claude Code is an agent skill from RedWoodOG/Hermes-Desktop. Delegate coding tasks to Claude Code (Anthropic's CLI agent). Use for building features, refactoring, PR reviews, and iterative coding. Requires the claude CLI installed.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests and Refactoring. The licence is MIT.

When your agent uses it

  • Building features
  • Iterative coding

Example prompts

  • “/claude-code”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Always use pty=true — Claude Code is an interactive terminal app and will hang without a PTY
  2. Use workdir — keep the agent focused on the right directory
  3. Background for long tasks — use background=true and monitor with process tool
  4. Don't interfere — monitor with poll/log, don't kill sessions because they're slow
  5. Report results — after completion, check what changed and summarize for the user

What it can do on your machine

Read from SKILL.md and the folder at commit be46b39. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude
    • git
    • gh
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    Also links to:

    • docs.anthropic.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Claude Code loads about 784 tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 187 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~784

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from RedWoodOG/Hermes-Desktop at commit be46b39, republished under its MIT licence (© RedWoodOG). 187 words, ~784 tokens.

Download SKILL.mdSave it as .claude/skills/claude-code/SKILL.md (or your agent's skills folder).
name
claude-code
description
Delegate coding tasks to Claude Code (Anthropic's CLI agent). Use for building features, refactoring, PR reviews, and iterative coding. Requires the claude CLI installed.
version
1.0.0
author
Hermes Agent
license
MIT

Claude Code

Delegate coding tasks to Claude Code via the Hermes terminal. Claude Code is Anthropic's autonomous coding agent CLI.

Prerequisites

  • Claude Code installed: npm install -g @anthropic-ai/claude-code
  • Authenticated: run claude once to log in
  • Use pty=true in terminal calls — Claude Code is an interactive terminal app

One-Shot Tasks

terminal(command="claude 'Add error handling to the API calls'", workdir="/path/to/project", pty=true)

For quick scratch work:

terminal(command="cd $(mktemp -d) && git init && claude 'Build a REST API for todos'", pty=true)

Background Mode (Long Tasks)

For tasks that take minutes, use background mode so you can monitor progress:

# Start in background with PTY
terminal(command="claude 'Refactor the auth module to use JWT'", workdir="~/project", background=true, pty=true)
# Returns session_id

# Monitor progress
process(action="poll", session_id="<id>")
process(action="log", session_id="<id>")

# Send input if Claude asks a question
process(action="submit", session_id="<id>", data="yes")

# Kill if needed
process(action="kill", session_id="<id>")

PR Reviews

Clone to a temp directory to avoid modifying the working tree:

terminal(command="REVIEW=$(mktemp -d) && git clone https://github.com/user/repo.git $REVIEW && cd $REVIEW && gh pr checkout 42 && claude 'Review this PR against main. Check for bugs, security issues, and style.'", pty=true)

Or use git worktrees:

terminal(command="git worktree add /tmp/pr-42 pr-42-branch", workdir="~/project")
terminal(command="claude 'Review the changes in this branch vs main'", workdir="/tmp/pr-42", pty=true)

Parallel Work

Spawn multiple Claude Code instances for independent tasks:

terminal(command="claude 'Fix the login bug'", workdir="/tmp/issue-1", background=true, pty=true)
terminal(command="claude 'Add unit tests for auth'", workdir="/tmp/issue-2", background=true, pty=true)

# Monitor all
process(action="list")

Key Flags

FlagEffect
claude 'prompt'One-shot task, exits when done
claude --dangerously-skip-permissionsAuto-approve all file changes
claude --model <model>Use a specific model

Rules

  1. Always use pty=true — Claude Code is an interactive terminal app and will hang without a PTY
  2. Use workdir — keep the agent focused on the right directory
  3. Background for long tasks — use background=true and monitor with process tool
  4. Don't interfere — monitor with poll/log, don't kill sessions because they're slow
  5. Report results — after completion, check what changed and summarize for the user

© RedWoodOG, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/autonomous-ai-agents/claude-code of RedWoodOG/Hermes-Desktop.

Open the folder on GitHubat commit be46b39

Used in 4 other repositories

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in RedWoodOG/Hermes-Desktop, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Claude Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Claude Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude Code this skillRedWoodOG/Hermes-Desktop1774 repos~784Automated safety check: PassMIT
Smell CheckZhen-Bo/smell-check239—~1.5kAutomated safety check: PassMIT
Coding Agentmastra-ai/mastra29k—~2.3kAutomated safety check: PassCustom licence
Code ReviewerYikai-Liao/symusic1891 repos~1.3kAutomated safety check: PassMIT
Typescript React ReviewerSuFxGIT/scoutarr114—~1.7kAutomated safety check: PassNone
Memtrace Change Impact Analysissyncable-dev/memtrace-public486—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Smell Check

    Zhen-Bo/smell-check

    Runs a smell-first audit on a user-chosen path set: measures structure metrics, applies a named size profile, and reports code smells and test smells with evidence strength.

    239 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Reviewer

    Yikai-Liao/symusic

    Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then…

    189 GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed
  • Expert code reviewer for TypeScript + React 19 applications.

    114 GitHub stars~1.7k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Memtrace Change Impact Analysis

    syncable-dev/memtrace-public

    Compute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory constraints — and produce a risk-rated…

    486 GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Develop Microfeed

    microfeed/microfeed

    Develop and contribute changes to the microfeed repository safely from branch creation through validation, commit, push, and draft pull request.

    4.1k GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check passed

More from RedWoodOG/Hermes-Desktop

All 62 skills in this repo
  • Obliteratus

    RedWoodOG/Hermes-Desktop

    Remove refusal behaviors from open-weight LLMs using OBLITERATUS — mechanistic interpretability techniques (diff-in-means, SVD, whitened SVD, LEACE, SAE decomposition, etc.) to excise guardrails…

    177 GitHub starsUsed in 6 repos~3.8k tokens
    Auto-check passed
  • Excalidraw

    RedWoodOG/Hermes-Desktop

    Create hand-drawn style diagrams using Excalidraw JSON format.

    177 GitHub starsUsed in 5 repos~1.8k tokens
    Auto-check passed
  • Ascii Video

    RedWoodOG/Hermes-Desktop

    Production pipeline for ASCII art video — any format. An agent skill from RedWoodOG/Hermes-Desktop.

    177 GitHub starsUsed in 2 repos~3.2k tokens
    Auto-check passed
  • Systematic Debugging

    RedWoodOG/Hermes-Desktop

    A skill your agent uses when encountering any bug, test failure, or unexpected behavior.

    177 GitHub starsUsed in 6 repos~2.6k tokens
    Auto-check passed
  • Test Driven Development

    RedWoodOG/Hermes-Desktop

    A skill your agent uses when implementing any feature or bugfix, before writing implementation code.

    177 GitHub starsUsed in 6 repos~2.4k tokens
    Auto-check passed
  • Google Workspace

    RedWoodOG/Hermes-Desktop

    Gmail, Calendar, Drive, Contacts, Sheets, and Docs integration via Python.

    177 GitHub stars~2.1k tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Claude Code

What does Claude Code do?

Delegate coding tasks to Claude Code (Anthropic's CLI agent). Claude Code is an agent skill from RedWoodOG/Hermes-Desktop. Delegate coding tasks to Claude Code (Anthropic's CLI agent).

When should I use Claude Code?

Claude Code fits situations like: building features; iterative coding.

How do I install Claude Code in Claude Code?

Run `npx skills add RedWoodOG/Hermes-Desktop --skill claude-code -a claude-code`. Or copy the skill folder (skills/autonomous-ai-agents/claude-code in RedWoodOG/Hermes-Desktop) into .claude/skills/claude-code in your project. Claude Code loads it when a task matches its description.

How do I install Claude Code in Codex?

Run `npx skills add RedWoodOG/Hermes-Desktop --skill claude-code -a codex`. Or copy the skill folder (skills/autonomous-ai-agents/claude-code in RedWoodOG/Hermes-Desktop) into .agents/skills/claude-code in your project. Codex loads it when a task matches its description.

Can I use Claude Code in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RedWoodOG/Hermes-Desktop --skill claude-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-code, .gemini/skills/claude-code, .github/skills/claude-code and .opencode/skills/claude-code in your project.

What does Claude Code need to run?

Going by SKILL.md and its folder, Claude Code needs the command-line tools its instructions call (claude, git, gh and npm). Our summary lists: Node.js.

Does Claude Code access the network?

SKILL.md names 2 domains. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. As links in the text: docs.anthropic.com. This is read from the text; nothing was executed.

Is Claude Code safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Claude Code use?

Claude Code is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude Code use?

About 784 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Claude Code?

Skills that share tags, products or a category with Claude Code: Smell Check (Zhen-Bo/smell-check, 239 stars), Coding Agent (mastra-ai/mastra, 29k stars), Code Reviewer (Yikai-Liao/symusic, 189 stars) and Typescript React Reviewer (SuFxGIT/scoutarr, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude Code?

RedWoodOG (a GitHub user) maintains it in RedWoodOG/Hermes-Desktop, which has 177 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on May 30, 2026.

Source: RedWoodOG/Hermes-Desktop on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.