kraken AGENTS.md

kraken AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from rafael-adcp/kraken. It costs 1,525 tokens per session, scanned A, original, MIT.

Instructions for running an agent as a named worker, or “tentacle,” in Kraken, a system that coordinates queued tasks. They point the worker to the project's operating rules and execution procedure.

In plain words
What is it for?
Use them when contributing a worker to the Kraken task queue. They help the worker read the protocol and run each task transition through the supplied script.
Why use it?
They tell the worker which state rules, task-claiming steps, and delivery boundaries to follow when working without interactive supervision.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionEnd hook event, but also the file is AGENTS.md. Also seen: mentions subagents; mentions Claude Code; mentions AGENTS.md.

Install

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.

agentmods
npx agentmods add instructions/rafael-adcp/kraken/agents-md
Clone the repo
git clone --depth 1 https://github.com/rafael-adcp/kraken

Made for: Claude Code, Codex, OpenCode.

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 kraken AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rafael-adcp/kraken/agents-md.svg)](https://agentmods.dev/instructions/rafael-adcp/kraken/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rafael-adcp/kraken/agents-md"><img src="https://agentmods.dev/badge/instructions/rafael-adcp/kraken/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,525 This file is loaded in full into every session.
When invoked 1,525 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.01525 $0.01525
Opus 5 $0.00763 $0.00763
Sonnet 5 $0.00305 $0.00305
Haiku 4.5 $0.00153 $0.00153

Measured 5d ago against content hash f52250f27bc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

kraken AGENTS.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 5d 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.

AGENTS.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — running as a kraken tentacle

This file lets an agents.md-aware agent CLI (GitHub Copilot CLI, and others that auto-load AGENTS.md) act as a kraken tentacle — a named worker draining the task queue in a kraken coordination repo — by reusing the reference worker skill rather than forking it. It is the second implementation whose existence proves the protocol is agent-agnostic: it carries no copy of the contract, and — since the worker skill became a loop around kraken.py next-actionno deltas either.

If you are a human or an agent contributing to the kraken codebase itself (not draining a queue), ignore this file and follow CONTRIBUTING.md.

Your operating contract — read these, then follow them

  1. PROTOCOL.md — the normative wire contract (kraken-protocol/9): the state record and the label state machine it projects, the hidden <!-- kraken {...} --> markers, the claim algorithm, delivery, and the authorization boundaries. Agent-agnostic already.
  2. skills/unleash/SKILL.md — how a worker executes that contract. Read it in full and follow it. Every transition runs through the bundled skills/unleash/kraken.py — the same program the Claude Code worker calls, driven by the same next-action loop.
  3. skills/unleash/DELIVERY.md — the delivery conventions SKILL.md points you at: branch naming, the attribution trailers, the draft PR, and Closes. It names your Co-Authored-By identity (Co-Authored-By: GitHub Copilot <[email protected]>) alongside Claude Code's.

You are invoked with the same three required arguments SKILL.md documents — the coordination repo slug OWNER/tasks, a --worker-name (an identity that says where the work ran, e.g. kraken-copilot-1), and a --project (only take project:<name> tasks).

Why there are no deltas any more

Read the full file on GitHub · 103 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. 5d ago First seen · 103 lines · 1,525 tokens per session scan A f52250f27bc1

Subscribe to this mod's changes

kraken AGENTS.md is an instructions file published in the GitHub repository rafael-adcp/kraken (4 stars, last pushed 1mo ago), licensed MIT. It adds 1,525 tokens to every session, about $0.0076 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-31.

Related

Other instructions, from other repositories

ai-literacy-superpowers copilot-instructions.md

Copilot instructions for Habitat-Thinking/ai-literacy-superpowers, covering project conventions and constraints, stack, naming, file structure and error handling.

Habitat-Thinking/ai-literacy-superpowers · 3,688 tokens

matilha-skills GEMINI.md

Instructions for danilods/matilha-skills, covering matilha — cognitive + methodological harness, how this loads in gemini cli, phases (0-70), companion detection and tool mapping.

danilods/matilha-skills · 685 tokens

AI-Prompt-Guide-MCP CLAUDE.md

Claude Code instructions for Blakeem/AI-Prompt-Guide-MCP, a project described as: Deprecated. MCP server and Claude Code plugin with task driven agent orchestration workflows, guides, markdown knowledge graphs, with intelligent context injection.

Blakeem/AI-Prompt-Guide-MCP · 5 tokens

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

microsoft/vscode · 6,785 tokens

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.

github/spec-kit · 7,104 tokens

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.

vercel/next.js · 7,296 tokens