flock: Instructions file for Claude Code

CLAUDE.md

flock CLAUDE.md is an instructions file for Claude Code from Onelevenvy/flock. It costs 2,138 tokens per session, scanned A, a copy of flock AGENTS.md, Apache-2.0.

Repository instructions for Flock, a desktop application that lets people use different AI providers, tools, sandboxes, workflows, and browser or computer controls.

In plain words
What is it for?
Use them when developing the Rust backend or React desktop interface, running the application, selecting an AI provider, testing, linting, or making release builds.
Why use it?
They explain the Rust workspace, desktop interface, command-line modes, and separate build and test commands for each part.

Instructions file for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is Onelevenvy/flock's own configuration. It tells Claude Code how to work on flock itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flock configures →

About the project

Flock is a desktop application for visually designing and running teams of AI agents, with a Rust backend and Tauri and React interface. It is used to orchestrate agent workflows that can perform tasks such as handling files, running commands, browsing the web, and executing pipelines, and the catalogue entries extend its agent and workflow setup.

Onelevenvy/flock · 1,127 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to Onelevenvy/flock. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Onelevenvy/flock/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Onelevenvy/flock

Made for: Claude Code.

Wrote 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.

agentmods badge for flock CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/onelevenvy/flock/claude-md/github.svg)](https://agentmods.dev/instructions/onelevenvy/flock/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/onelevenvy/flock/claude-md"><img src="https://agentmods.dev/badge/instructions/onelevenvy/flock/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.

agentmods 80×15 button for flock CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/onelevenvy/flock/claude-md"><img src="https://agentmods.dev/badge/instructions/onelevenvy/flock/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,138 This file is loaded in full into every session.
When invoked 2,138 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.02138 $0.02138
Opus 5.5 $0.00855 $0.00855
Sonnet 5.5 $0.00428 $0.00428
Haiku 4.5 $0.00214 $0.00214

Measured 2mo ago against content hash 5fbad5740e47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

Origin

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.

CLAUDE.md · 195 lines

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)

Read the full file on GitHub · 195 lines

Changes

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.

  1. 2mo ago First seen · 195 lines · 2,138 tokens per session scan A 5fbad5740e47

Subscribe to this mod's changes

flock CLAUDE.md is an instructions file published in the GitHub repository Onelevenvy/flock (1,127 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 2,138 tokens to every session, about $0.0086 per session on Opus 5.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.

Related

flock CLAUDE.md compared with instructions from other repositories

flock CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flock CLAUDE.mdOnelevenvy/flockInstructions file1.1k4mo agoApache-2.0A2,138Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot