ClawLite AGENTS.md

A repository guide for ClawLite, including its project rules, commands, validation workflow, important paths, and instructions for working with GitHub issues and pull requests.

In plain words
What is it for?
Use it when answering questions about ClawLite, changing its code, validating the project, or creating GitHub issue and pull-request updates.
Why use it?
It gives coding agents verified repository-specific guidance and avoids common mistakes when writing chat responses or GitHub messages.

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/eobarretooo/clawlite/agents-md
Clone the repo
git clone --depth 1 https://github.com/eobarretooo/ClawLite

Made for: Codex, OpenCode.

Per session 3,882 This file is loaded in full into every session.
When invoked 3,882 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 $0.03882 $0.03882
Opus 5 $0.01941 $0.01941
Sonnet 5 $0.00776 $0.00776
Haiku 4.5 $0.00388 $0.00388

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

Security

Grade A, and why

ClawLite 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 2d 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 · 292 lines

How it starts

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

AGENTS.md — ClawLite Repo Guide

  • Repo: https://github.com/renan/ClawLite (update with real URL)
  • In chat replies, file references must be repo-root relative only (example: clawlite/channels/telegram.py:80); never absolute paths.
  • GitHub issues/comments/PR bodies: use literal multiline strings or -F - <<'EOF' for real newlines; never embed \n as text.
  • GitHub comment footgun: never use gh issue/pr comment -b "..." when body contains backticks or shell chars. Always use -F - <<'EOF' heredoc.
  • When working on a GitHub Issue or PR, print the full URL at the end of the task.
  • When answering questions, respond with high-confidence answers only: verify in code; do not guess. It captures the repo's actual commands, validation workflow, and coding style.

Priority

  1. Follow safety and applicable law.
  2. Follow the user's explicit request.
  3. Follow repository-specific guidance in this file.
  4. Prefer small, auditable changes over broad refactors.

Core behavior inherited from the previous local guide:

  • Be objective, technical, and useful.
  • Ask questions only when critical information is missing.
  • Prefer execution plus verifiable results.
  • Validate with tests or smoke checks when practical.
  • Explain change impact clearly.
  • Never expose secrets or use destructive commands casually.

Rule Files Found

  • Root guidance exists in this AGENTS.md.
  • No .cursor/rules/ directory was found.
  • No .cursorrules file was found.
  • No .github/copilot-instructions.md file was found.

Repo Snapshot

  • Language: Python.
  • Packaging: pyproject.toml with setuptools.
  • Python: >=3.10.
  • Package: clawlite.
  • CLI entrypoint: clawlite = clawlite.cli:main.
  • Gateway: FastAPI + uvicorn + WebSocket support.
  • Runtime autonomy already includes supervised background loops for heartbeat, autonomy, channels_dispatcher, channels_recovery, subagent_maintenance, and self_evolution.
  • Tests: pytest.
  • Logging: loguru with helpers in clawlite/utils/logging.py.
  • CI covers Python 3.10 and 3.12.

Read the full file on GitHub · 292 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. 2d ago First seen · 292 lines · 3,882 tokens per session scan A 64a502ba49fd

Subscribe to this mod's changes

ClawLite AGENTS.md is an instructions file published in the GitHub repository eobarretooo/ClawLite (49 stars, last pushed 2mo ago), licensed MIT. It adds 3,882 tokens to every session, about $0.0194 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-30.