heyclaw: Instructions file for Codex

AGENTS.md

heyclaw AGENTS.md is an instructions file for Codex, OpenCode from vericle/heyclaw. It costs 787 tokens per session, scanned A, original, MIT.

A repository guide for HeyClaw, a Python 3.12 voice assistant that connects speech services, language models, memory, and external tools. It explains the project layout, configuration, commands, and development rules.

In plain words
What is it for?
Use it when developing the server, local audio application, shared package, configuration, logging, speech connections, or project tests.
Why use it?
It helps contributors understand which component to change and how to configure and test the assistant without exposing credentials.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is vericle/heyclaw's own configuration. It tells Codex and OpenCode how to work on heyclaw 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 heyclaw configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vericle/heyclaw. 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/vericle/heyclaw/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/vericle/heyclaw

Made for: 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 heyclaw AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vericle/heyclaw/agents-md"><img src="https://agentmods.dev/badge/instructions/vericle/heyclaw/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 787 This file is loaded in full into every session.
When invoked 787 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 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.00787 $0.00787
Opus 5.5 $0.00315 $0.00315
Sonnet 5.5 $0.00157 $0.00157
Haiku 4.5 $0.00079 $0.00079

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

Security

Grade A, and why

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

AGENTS.md · 47 lines

How it starts

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

HeyClaw

Python 3.12 voice assistant powered by ElevenLabs, Gemini, Mem0, and MCP tools. Server code and tests live in heyclaw/; local audio and wake-word code lives in satellite/app/, with tests in satellite/tests/. shared/heyclaw_shared/ is the heyclaw-shared package that both components install as an editable path dependency; it holds the settings, logging, performance instrumentation, and ElevenLabs provider config they have in common. heyclaw/workspace/ contains the instructions, profile, and skills loaded by the assistant at runtime.

Configuration

  • Requires Python 3.12, uv, GNU Make, ngrok, and lsof.
  • Prepare heyclaw/.env from heyclaw/.env.example. It contains logging settings only.
  • Prepare heyclaw/config.json from heyclaw/config.example.json. It defines server providers, gateway, agent defaults, workspace, memory, and MCP servers.
  • Prepare satellite/.env and satellite/config.json from their example files. They define local logging, audio, wake word, and the ElevenLabs connection.
  • Never commit credentials from either component.
  • The full development stack exposes the HTTP API on port 8000, the Speech Engine WebSocket on port 3001, and the ngrok tunnel configured by gateway.publicWsUrl.

Unix/WSL Commands

Use only Makefile targets from the repository root:

  • make setup: installs Python 3.12 and dependencies for both components; each uv sync also installs shared/ in editable mode.
  • make backend: stops local project processes, then starts the backend, Speech Engine, and ngrok tunnel.
  • make satellite: starts the interactive voice satellite; it requires microphone and audio devices configured in satellite/config.json.
  • make kill: stops processes on the ports used by the project.
  • make check: formats the code, applies Ruff fixes, and runs type checking. It may modify files.

After make setup, uv run --project satellite heyclaw-satellite onboard creates or refreshes both component config.json files without replacing existing values. It also recommends explicit PortAudio device indices; it is a CLI workflow, not a Makefile target. Pass --update-audio to replace only the existing audio indices and echo mode after the connected hardware changes; interactive terminals show selectable lists powered by Questionary. If the new hardware is not the Windows default, pass --input-device-index and/or --output-device-index together with --update-audio after inspecting heyclaw-satellite devices.

Read the full file on GitHub · 47 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 · 47 lines · 787 tokens per session scan A bd43ac4910a0

Subscribe to this mod's changes

heyclaw AGENTS.md is an instructions file published in the GitHub repository vericle/heyclaw (17 stars, last pushed 2mo ago), licensed MIT. It adds 787 tokens to every session, about $0.0031 per session on Opus 5.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-30.

Related

heyclaw AGENTS.md compared with instructions from other repositories

heyclaw AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
heyclaw AGENTS.mdvericle/heyclawInstructions file172mo agoMITA787Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode