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 instructions/onelevenvy/flock/claude-mdgit clone --depth 1 https://github.com/Onelevenvy/flockWrote 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/onelevenvy/flock/claude-md)<a href="https://agentmods.dev/instructions/onelevenvy/flock/claude-md"><img src="https://agentmods.dev/badge/instructions/onelevenvy/flock/claude-md.svg" alt="Measured on agentmods" 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 | $0.02138 | $0.02138 |
| Opus 5 | $0.01069 | $0.01069 |
| Sonnet 5 | $0.00428 | $0.00428 |
| Haiku 4.5 | $0.00214 | $0.00214 |
Grade A, and why
flock CLAUDE.md 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 4d 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.
This is a copy
97% identical to flock AGENTS.md — 5 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.
How it starts
The opening of the file, as written. The whole thing — 195 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.
Project Overview
Flock is a multi-provider AI agent desktop application with tool orchestration, sandbox execution, visual workflow, and browser/computer-use capabilities. It's a Rust workspace with a Tauri-based desktop UI (React + TypeScript + Mantine).
Build & Development Commands
Rust Backend
# Build the CLI
cargo build --release
# Run in single-shot mode
cargo run -- "your question"
# Run interactive REPL
cargo run
# Run with specific provider/profile
cargo run -- --profile deepseek "your question"
# Run tests (workspace-wide)
cargo test
# Run a single crate's tests
cargo test -p flock-core
cargo test -p flock-agent
cargo test -p flock-tools
cargo test -p flock-skills
# Run a specific test
cargo test -p flock-core test_name
# Lint
cargo clippy --workspace
Tauri Desktop UI
cd flock-ui
# Install dependencies
npm install
# Development server
npm run dev
# or
npm run tauri dev
# Build for production
npm run build
# or
npm run tauri build
# Lint frontend
npm run lint
Architecture
Workspace Crates
| Crate | Purpose |
|---|---|
flock-core |
Core types, config, database, IPC interface, crypto, model factory |
flock-agent |
Agent engine, session management, tool execution, memory, graph orchestration, workflow engine |
flock-tools |
Tool registry, built-in tools (Read/Write/Edit/Bash/Grep/Glob), MCP integration, sandbox tools (CodeExecution, SandboxExec, Browser, ComputerUse) |
flock-skills |
Skill discovery, loading, frontmatter parsing, hooks, permissions, bundled skills |
flock-ui/src-tauri |
Tauri desktop app backend (commands, agent state, workspace management) |
workspace-hack |
cargo-hakari build optimization |
Key Dependencies
- LangGraph: Rust reimplementation (langgraph-rust) for agent graph orchestration
- LLM Providers: OpenAI-compatible (default), Anthropic, AWS Bedrock, Google Vertex
- Database: SQLite via sqlx for sessions, conversations, providers, tools, MCP servers, workflows
- Async Runtime: Tokio
- Sandbox: Daytona cloud container runtime for isolated code execution
- Browser Automation: Playwright (Python, runs inside sandbox via CDP)
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.
- 4d ago First seen · 195 lines · 2,138 tokens per session scan A 5fbad5740e47
flock CLAUDE.md is an instructions file published in the GitHub repository Onelevenvy/flock (1,103 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 2,138 tokens to every session, about $0.0107 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to flock AGENTS.md, differing in 5 lines, and is treated as a copy.
Other instructions, from other repositories
daiv AGENTS.md
AGENTS.md instructions for srtab/daiv, covering agents.md, commands (verified), single test / pattern, translations and repo map (only what's non-obvious).
auxilia CLAUDE.md
Claude Code instructions for keurcien/auxilia, covering claude.md, project overview, backend conventions, layered architecture and naming.
daiv CLAUDE.md
Claude Code instructions for srtab/daiv, a project described as: Your AI-powered SWE teammate, built into your git workflow.
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.
open-swe AGENTS.md
AGENTS.md instructions for langchain-ai/open-swe, covering agents.md, project, commands, architecture and entrypoints.
open-swe CLAUDE.md
Claude Code instructions for langchain-ai/open-swe, a project described as: An Open-Source Asynchronous Coding Agent.