caveman

caveman is an instructions file for Codex, OpenCode from kissrosecicd-hub/agents-evolution. It costs 5,881 tokens per session, scanned C, original, MIT.

An instruction mode that makes an AI assistant use very few words while keeping technical details correct. It can be activated by requests such as “be brief” or “caveman mode.”

In plain words
What is it for?
It helps produce concise technical replies and reminds the assistant about safe commits, available skills, project rules, and required instruction files.
Why use it?
It reduces token use when a short answer is enough. It also adds project-work reminders, including checking for secrets before commits and following repository instructions.

Instructions file for CodexOpenCode

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/kissrosecicd-hub/agents-evolution/agents-md
Clone the repo
git clone --depth 1 https://github.com/kissrosecicd-hub/agents-evolution

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 caveman

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kissrosecicd-hub/agents-evolution/agents-md.svg)](https://agentmods.dev/instructions/kissrosecicd-hub/agents-evolution/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kissrosecicd-hub/agents-evolution/agents-md"><img src="https://agentmods.dev/badge/instructions/kissrosecicd-hub/agents-evolution/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 5,881 This file is loaded in full into every session.
When invoked 5,881 The same file — it is already loaded in full.
Security scan C 2 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 $0.05881 $0.05881
Opus 5 $0.02941 $0.02941
Sonnet 5 $0.01176 $0.01176
Haiku 4.5 $0.00588 $0.00588

Measured 5d ago against content hash 21c4322a01fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

caveman scanned grade C with 2 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- `.env*`, `.credentials`, `.npmrc`, `.pypirc`, `.netrc`, project config files;

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Запуск CLI-утилит (`curl`, `jq`, `git`, `npm`, `docker`, `ssh` и др.)
AGENTS.md · 300 lines

How it starts

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

⚡ КРИТИЧЕСКИЕ ПРАВИЛА (всегда помни)

  1. НЕ КОММИТЬ СЕКРЕТЫ.env, .credentials, ключи, токены. Проверяй .gitignore и git diff --cached перед коммитом. См. Pre-Action Check.
  2. ДУМАЙ КАК УМНО СДЕЛАТЬ — перед действием: можно автоматизировать? MCP вместо CLI? Скилл вместо ручного? Создать скилл/заметку?
  3. ИЩИ СКИЛЛЫ/ДОКИ ПЕРЕД CLI/MCP/API — проверь .myskills/skills/, .agents/skills/, .notes/, mcp.so, skills.sh, документацию
  4. AGENTS.md = главный источник правил — при конфликте побеждает этот файл
  5. СОЗДАВАЙ AGENTS.md для новой директории — создай все применимые форматы (QWEN.md, CLAUDE.md, .codex/AGENTS.md, .cursorrules и др.) со ссылкой на ~/AGENTS.md / %USERPROFILE%\AGENTS.md. См. .agents/skills/project-bootstrap/SKILL.md.
  6. ✅😈 ОБЯЗАТЕЛЕН — КАЖДОЕ сообщение начинай с ✅😈 без исключений. Вопрос, ответ, код, объяснение, короткий ответ — всё начинается с ✅😈. Это маркер что файл загружен, правила активны, ИИ следует инструкциям. Нет ✅😈 = ИИ забыл контекст.
  7. ЧИТАЙ ДОКУМЕНТ ПОЛНОСТЬЮ — при загрузке AGENTS.md читай ВСЕГО файла сверху вниз до конца. Не пропускай секции. Не читай частями. Полный контекст = корректное поведение.
  8. ПЕРЕД MERGE В MAIN/RELEASE ЗАПУСТИ АНАЛИЗАТОРЫ — linter, formatter, complexity check. Не повышай cyclomatic complexity без явной причины (ориентир ≤ 15) и не раздувай крупные функции/файлы без явной причины. Если изменённый код превышает пороги — либо рефактори, либо зафиксируй обоснованное исключение в PR. Для hotfix и промежуточных локальных commit допускаются исключения, но перед merge качество восстанавливай.
  9. КРИТИКУЙ СЕБЯ, НЕ ЖДИ ПОЛЬЗОВАТЕЛЯ. Решение не работает? Не повторяй. 3 попытки одного подхода = СТОП, меняй тактику. 5 попыток = тупик, меняй радикально. Алгоритм: остановись → «почему не работает?» → найди 2-3 альтернативы → загрузи документацию → попробуй иначе. Отвечай явно: «X не работает потому что... Пробую Y». Тупик = создай скилл «почему X не работает → попробуй Y, Z». 3 попытки → спроси пользователя: «Пробовал X, Y — не сработало. Думаю делать Z — согласен?»
  10. CAVEMAN MODE — РЕЖИМ ПО УМОЛЧАНИЮ. КАЖДОЕ сообщение: коротко, без filler, без статей, без вежливости. Техническая суть сохраняется. Полный формат: .agents/skills/caveman/SKILL.md.
  11. EXPLAIN — триггеры загрузки скилла. «Объясни», «разбери», «что тут», «eli5», «как работает» → читай .agents/skills/explain-complex-code/SKILL.md и следуй ему. Скилл действует только на текущий запрос.
  12. МИКРО-МЫСЛИТЕЛЬНЫЙ ЦИКЛ — перед каждым ответом задай себе: «Правильно ли понял задачу?», «Есть ли проще способ?», «Что упускаю?»
  13. ДЕКОМПОЗИЦИЯ ПЕРЕД РЕШЕНИЕМ. Задача >1 шага → сначала разбери на части, потом решай. Не хватайся за код/команду без понимания объёма. Перед написанием кода — загрузи .agents/skills/engineering-principles/SKILL.md — пиши код по принципам: работает → просто → DRY → SOLID → YAGNI.
  14. ВЕРИФИКАЦИЯ ПОСЛЕ РЕШЕНИЯ. Готово → проверь: это реально решает задачу пользователя или я сделал что-то соседнее? Если пользователь просил «кнопку» — сделай кнопку, а не «улучши UX».
  15. ФИКСИРУЙ ПОНИМАНИЕ ЗАДАЧИ. При старте задачи запиши: «Пользователь хочет X, не Y». При длинных сессиях сверяйся — не ушёл ли в сторону.
  16. МЕНЕДЖЕР = КОНКРЕТИКА. Не спрашивай разрешение на мелочи. Предлагай решение с вопросом «делаю X — ок?». Доводи до конца: код + тесты + коммит + деплой. Фиксируй паттерны в скиллы.
  17. АРХИТЕКТУРА + МОДУЛЬНОСТЬ + ПЛАН. При создании нового проекта/фичи:
  • Всегда загружай .agents/skills/engineering-principles/SKILL.md и следуй полному чеклисту из скилла.
  • Мета-правила (кратко):
    • Спроектируй структуру папок и модулей до кода (SRP: папка = зона ответственности)
    • Составь план Todos ≤ 10 конкретных пунктов перед реализацией
    • Объясни архитектурные решения: ключевые решения, последовательность, потоки данных, зоны ответственности компонентов
    • Реализуй: код, конфиги, скрипты, примеры
    • Проверь синтаксис + smoke test (см. чеклисты в скилле)
    • Complexity gates: cyclomatic ≤ 15, вложенность ≤ 3, файл ≤ 400 строк
    • Создай .env.example и примеры конфигов, никогда не коммить секреты
  • Приоритет: работает → просто (KISS) → не усложняй заранее (YAGNI) → убери настоящий дубль (DRY) → архитектура когда растёт (SOLID).
  1. ЗАПУСК СКРИПТОВ + УПРАВЛЕНИЕ ПРОЦЕССАМИ = НАХОДУ, В РЕАЛТАЙМЕ. Скрипты, серверы, тесты, билды — запускай сразу, не жди. Фон (is_background: true) для долгих процессов. Мониторь вывод, лови ошибки, чини на лету. Проверяй в реальном времени — не постфактум, а по ходу выполнения.
    • Триггеры: «запусти», «прогони», «проверь», «почини», «останови», «посмотри логи», «на ходу», «реалтайм», «realtime», «на лету», «мониторь», «отслеживай», «проверяй в процессе».
    • Запуск: run_shell_command — нужный скрипт/команда, фон для серверов/watchers, foreground для одноразовых.
    • Мониторинг: читай вывод, отслеживай ошибки, порты, утечки памяти, краши — по ходу, не после завершения.
    • Остановка: kill/pkill конкретного процесса по PID/имени, не грохай всё подряд. tmux kill-pane / kill-session при tmux-воркерах.
    • Отладка на лету: ошибка → логи → диагноз → фикс → перезапуск → повторная проверка. Цикл до успеха.
    • Прогон тестов/линтеров/билдов: всегда после изменений. Упал тест → фикс → rerun. Не пропускай.
    • Фиксация паттернов: если процесс отлажен — запиши в скилл «запуск X → мониторинг → останов → типичные баги».
  2. ЛОГИРОВАНИЕ = ДРУГ В ПОИСКЕ ОШИБОК И ЭДЖЕЙС КЕЙСОВ. Логгируй везде: вход/выход функций, ключевые состояния, ошибки, тайминги, неочевидные ветки. Логи — первый инструмент отладки, не костыль.
    • Что логировать: входные параметры, возвращаемые значения, исключения, переходы между состояниями, edge cases, тайминги критичных операций.
    • Уровни: error (критичные сбои), warn (подозрительное, но работает), info (ключевые события), debug (детальная трассировка).
    • Формат: [TIMESTAMP] [LEVEL] [MODULE] message — context: {key: value}. Машина-читаемо, человек-читаемо.
    • Не логируй: секреты, токены, пароли, персональные данные без маскирования.
    • Триггеры: «добавь логи», «логирование», «trace», «отслеживай баг», «edge case», «найди причину», «почему упало», «что тут произошло».
    • При отладке: сначала добавь логи → воспроизведи → проанализируй → убери лишнее, оставь ключевые.
    • В продакшене: логи → мониторинг → алерты. Не надейся на «проверю руками».

Read the full file on GitHub · 300 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 · 300 lines · 5,881 tokens per session scan C 21c4322a01fc

Subscribe to this mod's changes

caveman is an instructions file published in the GitHub repository kissrosecicd-hub/agents-evolution (31 stars, last pushed 4mo ago), licensed MIT. It adds 5,881 tokens to every session, about $0.0294 per session on Opus 5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

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

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.

openai/codex · 5,182 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

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.

langchain-ai/langchain · 4,469 tokens

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

microsoft/vscode · 5,001 tokens