Borrowing it
Nothing to install: this file belongs to scitix/siclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/scitix/siclaw/main/CLAUDE.mdgit clone --depth 1 https://github.com/scitix/siclawWrote 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.
[](https://agentmods.dev/instructions/scitix/siclaw/claude-md)<a href="https://agentmods.dev/instructions/scitix/siclaw/claude-md"><img src="https://agentmods.dev/badge/instructions/scitix/siclaw/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/scitix/siclaw/claude-md"><img src="https://agentmods.dev/badge/instructions/scitix/siclaw/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.18577 | $0.18577 |
| Opus 5.5 | $0.07431 | $0.07431 |
| Sonnet 5.5 | $0.03715 | $0.03715 |
| Haiku 4.5 | $0.01858 | $0.01858 |
Grade A, and why
siclaw CLAUDE.md scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Primary defense: **OS-level user isolation** — child processes run as `sandbox` user; `kubectl` has setgid `kubecred` (ADR-010). Secondary: **whitelist-only command validation** (`src/tools/infra/command-sets.ts`). `sed` How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Siclaw — Operating Manual for Claude
Auto-loaded at session start. Keep concise — deep reference lives in
docs/design/.
What This Project Is
Siclaw is an AI-powered SRE copilot that runs Kubernetes diagnostics via natural language.
Three runtime modes share one agent core:
Headless CLI (single diagnostic invocation; optionally paired with local Portal — see invariants.md §1.4)
Gateway + LocalSpawner (multi-user, local dev — all users share one process + filesystem)
Gateway + K8sSpawner (production — one isolated pod per user)
Critical Architecture Invariants
Full spec:
docs/design/invariants.md
🔴 Local Mode: Shared Filesystem
LocalSpawner runs ALL AgentBox instances in-process, sharing one filesystem.
skillsHandler.materialize()must NOT be called in local mode — wipes all users' skills- Local skills sync writes only to
skills/user/{userId}/scoped paths
🔴 Skill Bundle Contract
buildSkillBundle() packages only global + skillset (dev only) + personal skills selected for the current workspace. Core skills are baked into the Docker image. materialize() does NOT restore core skills.
🔴 Headless CLI + Local Portal: Read-Only Snapshot Contract
When siclaw --prompt "..." starts in a cwd that has a reachable local Portal (.siclaw/local-secrets.json present AND /api/health responds), Portal becomes the read-only source of truth for skills, knowledge, credentials, agents, MCP servers, and LLM providers. Do not add code paths that let the headless CLI write back to Portal — writes belong in Portal Web UI.
- Snapshot contract:
GET /api/v1/cli-snapshot?agent=<name>— seesrc/portal/cli-snapshot-api.ts. Agent-scoped joins viaagent_skills,agent_hosts,agent_clusters,agent_mcp_servers,agent_knowledge_repos. - Materialization: payload unpacked to
.siclaw/.portal-snapshot/run-<random>/{skills,knowledge,credentials}/. Each invocation owns its root and removes only that root on exit or cancellation. Empty snapshots remain authoritative; never substitute ambient resources. These materializers (src/lib/portal-*-materializer.ts) are NOT the same asskillsHandler.materialize()(§1.2) — different code path, scoped ephemeral output, safe in headless CLI cwd. - CLI requires
--promptand exits on missing provider configuration. Interactive setup and terminal slash commands have been removed; configuration belongs in Portal Web UI or a pre-provisioned standalone settings file. - Standalone headless CLI (no Portal, no selected agent): legacy
settings.jsonflow unchanged. A selected Portal agent must load successfully; never silently execute against local configuration when its snapshot fails.
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.
- 1mo ago Changed · -2 lines · -444 tokens per session be5d2cdce293
- 2mo ago Changed · +4 lines · +2,573 tokens per session 1b451eba968f
- 2mo ago First seen · 165 lines · 16,448 tokens per session scan A a76291d3c58a
siclaw CLAUDE.md is an instructions file published in the GitHub repository scitix/siclaw (238 stars, last pushed 25d ago), licensed Apache-2.0. It adds 18,577 tokens to every session, about $0.0743 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
siclaw CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| siclaw CLAUDE.mdscitix/siclaw | Instructions file | 238 | 25d ago | Apache-2.0 | A | 18,577 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |