claude-code

claude-code is a skill for Claude Code from aivrar/portable-hermes-agent. It costs 16 tokens per session (8,991 once invoked), scanned D, a copy of claude-code, MIT.

A connector that lets Hermes Agent hand coding tasks to Claude Code, Anthropic’s command-line coding agent. Claude Code can inspect files, change code, run commands, and manage Git work.

In plain words
What is it for?
Use it to build features, fix or refactor code, review pull requests, and run Git-based coding workflows.
Why use it?
It removes the need to carry out every coding step in the main agent session. It can also handle longer or multi-step coding tasks through a separate tool.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it to build features, fix or refactor code, review pull requests, and run Git-based coding workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aivrar/portable-hermes-agent/claude-code
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aivrar/portable-hermes-agent --skill claude-code
Clone the repo
git clone --depth 1 https://github.com/aivrar/portable-hermes-agent

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claude-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/claude-code.svg)](https://agentmods.dev/skills/aivrar/portable-hermes-agent/claude-code)
Your own site
<a href="https://agentmods.dev/skills/aivrar/portable-hermes-agent/claude-code"><img src="https://agentmods.dev/badge/skills/aivrar/portable-hermes-agent/claude-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.08991
Opus 5 $0.00008 $0.04496
Sonnet 5 $0.00003 $0.01798
Haiku 4.5 $0.00002 $0.00899

Measured 3d ago against content hash 3fd7c81f2c6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade D, and why

claude-code scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

4. **User:** `~/.claude/settings.json` (global)

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

"deny": ["Read(.env)", "Bash(rm -rf *)"]
Origin

This is a copy

100% identical to claude-code — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/autonomous-ai-agents/claude-code/SKILL.md · 746 lines

How it starts

The opening of the file, as written. The whole thing — 746 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Code — Hermes Orchestration Guide

Delegate coding tasks to Claude Code (Anthropic's autonomous coding agent CLI) via the Hermes terminal. Claude Code v2.x can read files, write code, run shell commands, spawn subagents, and manage git workflows autonomously.

Prerequisites

  • Install: npm install -g @anthropic-ai/claude-code
  • Auth: run claude once to log in (browser OAuth for Pro/Max, or set ANTHROPIC_API_KEY)
  • Console auth: claude auth login --console for API key billing
  • SSO auth: claude auth login --sso for Enterprise
  • Check status: claude auth status (JSON) or claude auth status --text (human-readable)
  • Health check: claude doctor — checks auto-updater and installation health
  • Version check: claude --version (requires v2.x+)
  • Update: claude update or claude upgrade

Two Orchestration Modes

Hermes interacts with Claude Code in two fundamentally different ways. Choose based on the task.

Mode 1: Print Mode (-p) — Non-Interactive (PREFERRED for most tasks)

Print mode runs a one-shot task, returns the result, and exits. No PTY needed. No interactive prompts. This is the cleanest integration path.

terminal(command="claude -p 'Add error handling to all API calls in src/' --allowedTools 'Read,Edit' --max-turns 10", workdir="/path/to/project", timeout=120)

When to use print mode:

  • One-shot coding tasks (fix a bug, add a feature, refactor)
  • CI/CD automation and scripting
  • Structured data extraction with --json-schema
  • Piped input processing (cat file | claude -p "analyze this")
  • Any task where you don't need multi-turn conversation

Print mode skips ALL interactive dialogs — no workspace trust prompt, no permission confirmations. This makes it ideal for automation.

Mode 2: Interactive PTY via tmux — Multi-Turn Sessions

Interactive mode gives you a full conversational REPL where you can send follow-up prompts, use slash commands, and watch Claude work in real time. Requires tmux orchestration.

Read the full file on GitHub · 746 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 746 lines · 16 tokens per session scan D 3fd7c81f2c6c

Subscribe to this mod's changes

claude-code is a skill published in the GitHub repository aivrar/portable-hermes-agent (216 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 8,991 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). It is 100% identical to claude-code, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

release-nyx

Ship a new nyx-local-ai release end to end — bump versions consistently, run the quality gates (typecheck, smoke tests, package), install locally, tag and push so CI publishes the installer artifacts. Use when the user asks to release, ship, publish, bump the version, or cut a new build of the extension.

sthamann/nyx-local-ai · 72 tokens

linear-cli

Use when the user wants to list, view, start, create, or update Linear issues from the terminal via schpet/linear-cli, including setup, auth, repo config, and safe read/write boundaries.

Peiiii/nextclaw · 45 tokens

agentbro-pr-merge

Use when reviewing, fixing CI for, approving workflows for, or merging AgentBro pull requests into dev/main, especially external contributor PRs where contributor attribution matters.

shirenchuang/agentbro · 38 tokens

npm-release

Use when publishing or preparing to publish an npm package from this repository, especially the Skill Zoo CLI package under packages/cli. Also use when npm publish fails because of duplicate versions, npm authentication, browser authentication, dist-tag propagation, tarball contents, bin entry issues, or…

luochang212/skill-zoo · 66 tokens

make-release

A release workflow for the Holix GitHub repository. It prepares a pull request, checks that automated tests pass, merges it, and creates the next numbered release.

javded-itres/Holix · 77 tokens

nyx-ui-screenshots

Regenerate the README UI screenshots for nyx-local-ai from the browser harness — build the webview, serve the harness scenes, capture and crop the images into docs/. Use when the UI changed visibly, when the user asks to update screenshots, or before a release with UI changes.

sthamann/nyx-local-ai · 64 tokens