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.
npx agentmods add skills/markus-global/markus/claude-codenpx skills add markus-global/markus --skill claude-codegit clone --depth 1 https://github.com/markus-global/markusWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00023 | $0.02225 |
| Opus 5 | $0.00012 | $0.01112 |
| Sonnet 5 | $0.00005 | $0.00445 |
| Haiku 4.5 | $0.00002 | $0.00222 |
Grade A, and why
claude-code scanned grade A with 0 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 2d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Claude Code
Claude Code (claude binary) is Anthropic's agentic coding CLI. Markus invokes it via invoke_coding_tool({ tool: "claude-code", ... }). Use it for complex, multi-turn coding tasks where deep reasoning and broad file exploration are needed.
Installation
npm install -g @anthropic-ai/claude-code
claude --version
Verify with markus doctor. Requires authentication via one of: ANTHROPIC_API_KEY env var, ANTHROPIC_BASE_URL for custom endpoints, or interactive claude login.
How Markus Invokes Claude Code
Markus runs Claude Code in non-interactive print mode with structured streaming output:
claude --print --output-format stream-json --verbose --max-turns 50 --permission-mode bypassPermissions "<prompt>"
| Flag | Purpose |
|---|---|
--print |
Non-interactive mode — runs to completion without user input |
--output-format stream-json |
Emits structured JSON events for progress parsing |
--verbose |
Detailed progress output |
--max-turns 50 |
Allows up to 50 agent turns for complex tasks |
--permission-mode bypassPermissions |
Auto-approves all file edits and commands — required because --print mode has no interactive stdin for approval prompts |
Additional args can be configured per-deployment via CodingToolConfig.defaultArgs.
Stream-JSON Output
Each stdout line is a JSON event. Key event types:
| Event type | Meaning |
|---|---|
assistant with text content |
Progress message / reasoning summary |
assistant with tool_use |
File edit, shell command, or other tool invocation |
result |
Final outcome with cost and token data |
The result event includes:
result— Final summary textinput_tokens,output_tokens— Token usagecache_read_tokens,cache_write_tokens— Prompt cache statscost_usd— Estimated cost in USD
Markus parses these into progress events (file_edit, progress, completed) and extracts cost reports automatically.
CLAUDE.md Context File
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 240 lines · 23 tokens per session scan A 4e9a09817b3b
claude-code is a skill published in the GitHub repository markus-global/markus (157 stars, last pushed 5d ago), licensed Apache-2.0. It adds 23 tokens to every session and 2,225 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dashclaw-ship
The single command that gets a DashClaw change ON MAIN AND LIVE — it resolves everything blocking production, never defers, and never hands back a checklist. Lands feature branches on main (rebase, gate, merge, push so Vercel deploys), bumps the unified platform+SDK version, and realigns every description of the…
dashclaw-governance
Governance behavior for AI agents governed by DashClaw. Teaches the governance protocol: when to call guard (risk thresholds), how to interpret decisions (allow/warn/block/requireapproval), when to record actions, how to wait for approvals, and session lifecycle management. Loads org-specific policies and capabilities…
instrument-agent
Integrate DashClaw SDK into any agent using the 4-step governance loop.
troubleshoot
Debug DashClaw errors, signal issues, and misconfigurations.
compliance-drift-evals
Set up compliance exports, drift detection, evaluations, scoring, and learning analytics.
build-dashclaw
Contribute to the DashClaw codebase — architecture, scaffolding, tests, CI.