Agent skill · Audited from source
claude-code
skill · nousresearch/hermes-agentMIT licenceAudited 31 Oct 2026 · source 22f35f15a475
Is it safe? No — BLOCK, grade D (69/100). We read this skill's source at commit 22f35f15a475 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 5 findings, 2 critical or high. What it does: Delegate coding to Claude Code CLI (features, PRs).
Cite
Cite this page
ModelsAtlas. “claude-code (nousresearch/hermes-agent)”. Retrieved 31 Oct 2026. https://modelsatlas.com/skills/nousresearch/claude-code
Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 2 critical or high findings, starting with “Prompt injection” in SKILL.md:359. Do not install it without reading them.
2 skills are called “claude-code”. You are viewing nousresearch/hermes-agent. 1 of them is BLOCK.
- nousresearch/hermes-agent★ 259k✕BLOCK
- anthropics/claude-code★ 153k!CAUTION
Trust audit
Audit 0.4.1 · source read 31 Oct 2026
BLOCK means the audit found something that could harm you or your machine. Grade D is shared by 721 of 17,602 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 5 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (5)
HIGHPrompt injectionprompt.credential_read · SKILL.md:359
"deny": ["Read(.env)", "Bash(rm -rf *)"]
- Why
- asks the agent to read credentials
- Fix
- —
HIGHPrivilege escalation / persistencereview.unsafe_action · SKILL.md
--dangerously-skip-permissions` | Opt-in only: disables ALL permission prompts (file writes, bash, network). Throwaway worktree / isolated c
- Why
- The package directs an agent to use a permission-bypass flag that disables safety prompts for filesystem, shell, and network actions.
- Fix
- rewrite it so the instruction says plainly what it does, and asks the user before it acts
MEDIUMPrompt injectionreview.instruction_override · SKILL.md
# Allow this one action (Enter = default "Yes"); Esc declines it
- Why
- The instruction tells an agent to approve permission prompts by selecting the default Yes action.
- Fix
- rewrite it so the instruction says plainly what it does, and asks the user before it acts
MEDIUMPrivilege escalation / persistencereview.unsafe_action · SKILL.md
tmux send-keys -t <session> Down && sleep 0.3 && tmux send-keys -t <session> Enter
- Why
- This command sequence is presented as how to accept the dangerous permission-skip option, enabling privileged no-prompt operation.
- Fix
- rewrite it so the instruction says plainly what it does, and asks the user before it acts
INFOPrompt injectionprompt.authority_framing · SKILL.md:579
You are a senior security engineer. Review code for:
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 22f35f15a475 · 31 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishernousresearch GitHub organizationOwner of the repository this skill is read from
- Source foldernousresearch/hermes-agent/skills/autonomous-ai-agents/claude-codeThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict22f35f15a475A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Delegate coding to Claude Code CLI (features, PRs).
---
name: claude-code
description: "Delegate coding to Claude Code CLI (features, PRs)."
version: 2.2.1
author: Hermes Agent + Teknium
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [Coding-Agent, Claude, Anthropic, Code-Review, Refactoring, PTY, Automation]
related_skills: [codex, hermes-agent, opencode]
---
# Claude Code — Hermes Orchestration Guide
Delegate coding tasks to [Claude Code](https://code.claude.com/docs/en/cli-reference) (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.**
```
# Start a tmux session
terminal(command="tmux new-session -d -s claude-work -x 140 -y 40")
# Launch Claude Code inside it
terminal(command="tmux send-keys -t claude-work 'cd /path/to/project && claude' Enter")
# Wait for startup, then send your task
# (after ~3-5 seconds for the welcome screen)
terminal(command="sleep 5 && tmux send-keys -t claude-work 'Refactor the auth module to use JWT tokens' Enter")
# Monitor progress by capturing the pane
terminal(command="sleep 15 && tmux capture-pane -t claude-work -p -S -50")
# Send follow-up tasks
terminal(command="tmux send-keys -t claude-work 'Now add unit tests for the new JWT code' Enter")
# Exit when done
terminal(command="tmux send-keys -t claude-work '/exit' Enter")
```
**When to use interactive mode:**
- Multi-turn iterative work (refactor → review → fix → test cycle)
- Tasks requiring human-in-the-loop decisions
- Exploratory coding sessions
- When you need to use Claude's slash commands (`/compact`, `/review`, `/model`)
## PTY Dialog Handling (CRITICAL for Interactive Mode)
Claude Code presents up to two confirmation dialogs on first launch. You MUST handle these via tmux send-keys:
### Dialog 1: Workspace Trust (first visit to a directory)
```
❯ 1. Yes, I trust this folder ← DEFAULT (just press Enter)
2. No, exit
```
**Handling:** `tmux send-keys -t <session> Enter` — default selection is correct.
### Dialog 2: Individual Permission Prompts (normal flow)
Each tool use that needs approval (file write, shell command, network) shows a prompt. Answer that one prompt — this is different from disabling prompts for the whole run:
```
# Read the prompt before answering it
terminal(command="tmux capture-pane -t <session> -p -S -30")
# Allow this one action (Enter = default "Yes"); Esc declines it
terminal(command="tmux send-keys -t <session> Enter")
```
Never send a blind `Enter` on a timer to approve prompts you have not read — that is the bypass flag with extra steps.
A narrower opt-in than the full bypass is `--permission-mode acceptEdits`: file edits in the working directory are accepted, shell and other tool calls still prompt. Use it only in a dedicated worktree after reviewing the task.
### Robust Dialog Handling Pattern
```
# Default launch — keep permission prompts enabled
terminal(command="tmux send-keys -t claude-work 'claude \"your task\"' Enter")
# Handle trust dialog (Enter for default "Yes")
terminal(command="sleep 4 && tmux send-keys -t claude-work Enter")
# Now wait for Claude to work
terminal(command="sleep 15 && tmux capture-pane -t claude-work -p -S -60")
```
**Note:** After the first trust acceptance for a directory, the trust dialog won't appear again.
### Opt-in: --dangerously-skip-permissions (isolated environments only)
This disables permission prompts for the whole run — grants filesystem, shell, and network access with no prompts. Acceptable only in a throwaway worktree or isolated container.
```
❯ 1. No, exit ← DEFAULT (safe choice)
2. Yes, I accept
```
To accept: `tmux send-keys -t <session> Down && sleep 0.3 && tmux send-keys -t <session> Enter`
## CLI Subcommands
| Subcommand | Purpose |
|------------|---------|
| `claude` | Start interactive REPL |
| `claude "query"` | Start REPL with initial prompt |
| `claude -p "query"` | Print mode (non-interactive, exits when done) |
| `cat file \| claude -p "query"` | Pipe content as stdin context |
| `claude -c` | Continue the most recent conversation in this directory |
| `claude -r "id"` | Resume a specific session by ID or namExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 22f35f1
git clone https://github.com/nousresearch/hermes-agent git -C hermes-agent checkout 22f35f15a475
The author documents no install command, so this uses the repository directly. Our verdict covers commit 22f35f15a475 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
Audit history
Every audit, every source change
- ✕BLOCK D 69 / 100
first audit · source
22f35f15a475
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/nousresearch/claude-code/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
nousresearch/hermes-agent
Design one-off HTML artifacts (landing, deck, prototype).
nousresearch/hermes-agent
Delegate coding to OpenAI Codex CLI (features, PRs).
nousresearch/hermes-agent
Monitor blogs and RSS/Atom feeds via blogwatcher-cli tool.
nousresearch/hermes-agent
ASCII video: convert video/audio to colored ASCII MP4/GIF.
nousresearch/hermes-agent
Infographics: 21 layouts x 21 styles (信息图, 可视化).
nousresearch/hermes-agent
ASCII art: pyfiglet, cowsay, boxes, image-to-ascii.
Add this badge to your README
[](https://modelsatlas.com/skills/nousresearch/claude-code/)
<a href="https://modelsatlas.com/skills/nousresearch/claude-code/"><img src="https://modelsatlas.com/skills/nousresearch/claude-code/badge.svg" alt="ModelsAtlas: BLOCK D"></a>
Questions about claude-code
What does the claude-code skill do?
Is claude-code safe to install?
What can claude-code access on my machine?
Which assistants does claude-code work with?
How current is this page?
Sources
- github.com/nousresearch/hermes-agent/tree/main/skills/autonomous — the audited source at commit 22f35f15a475 and every finding aboveObserved · 31 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the claude-code skill do?
- Is claude-code safe to install?
- What can claude-code access on my machine?