Octos is a self-hosted AI assistant that runs on a user's computer and can connect to different AI providers, execute code, browse the web, remember information, schedule jobs, and create documents through browser, terminal, and messaging interfaces. The catalogue entries extend or configure this assistant's workflows.
Borrowing it
Nothing to install: this file belongs to octos-org/octos. 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/octos-org/octos/main/CLAUDE.mdgit clone --depth 1 https://github.com/octos-org/octosWrote 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/octos-org/octos/claude-md)<a href="https://agentmods.dev/instructions/octos-org/octos/claude-md"><img src="https://agentmods.dev/badge/instructions/octos-org/octos/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/octos-org/octos/claude-md"><img src="https://agentmods.dev/badge/instructions/octos-org/octos/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.03105 | $0.03105 |
| Opus 5 | $0.01553 | $0.01553 |
| Sonnet 5 | $0.00621 | $0.00621 |
| Haiku 4.5 | $0.00311 | $0.00311 |
Grade C, and why
octos CLAUDE.md scanned grade C 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 6d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- `ShellTool` has `SafePolicy` that denies dangerous commands (rm -rf /, dd, mkfs, fork bomb). Whitespace-normalized before matching. Timeout clamped to [1, 600]s. How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Build & Test Commands
cargo build --workspace # Build all crates
cargo test --workspace # Run all tests
cargo test -p octos-agent # Test single crate
cargo test -p octos-agent test_name # Run single test
cargo clippy --workspace # Lint
cargo fmt --all # Format
cargo fmt --all -- --check # Check formatting
cargo install --path crates/octos-cli \
--features "api,telegram,discord,whatsapp,feishu,twilio,wecom,wecom-bot,audio_mp3"
# Install CLI locally with the
# canonical feature default
# (matches scripts/milestone-ci.sh).
# `api` is required for `octos serve`.
# `audio_mp3` is required for the
# `podcast_generate` workspace
# contract to validate mp3 output
# (see #1025).
Architecture
octos is a Rust-native, API-first Agentic OS — multi-tenant AI agent platform. 8-crate workspace + bundled skills, layered:
octos-cli (CLI: clap commands, config loading, config watcher)
|
octos-agent (Agent loop, tool system, sandbox, MCP, compaction, plugins)
| \
octos-memory octos-llm (hybrid search + memory store | LLM providers)
\ /
octos-core (Task, Message, Error types, truncate_utf8 - no internal deps)
Alongside octos-agent:
- octos-bus: Message bus, 14 channels (Telegram/Discord/Slack/WhatsApp/Email/WeChat/...), sessions, coalescing, cron, heartbeat
- octos-pipeline: DOT-graph pipeline engine — per-node model selection, parallel fan-out, checkpoints, human gates
- octos-plugin: Plugin SDK — manifest parsing, discovery, gating (binary/env/OS checks)
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.
- 6d ago Changed · +37 tokens per session 7a95e69548a1
- 7d ago Changed · +166 tokens per session 1a47fbaaf8dd
- 12d ago First seen · 156 lines · 2,902 tokens per session scan C 9c3dca5a47aa
octos CLAUDE.md is an instructions file published in the GitHub repository octos-org/octos (1,038 stars, last pushed today), licensed Apache-2.0. It adds 3,105 tokens to every session, about $0.0155 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).