cli-jaw: Instructions file for Claude Code

AGENTS.md

cli-jaw AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from lidge-jun/cli-jaw. It costs 13,345 tokens per session, scanned C, original, MIT.

Instructions for cli-jaw, a command-line tool that lets an AI agent control a computer and run other coding agents. A monorepo is one repository containing several related parts of a project.

In plain words
What is it for?
Use it when developing cli-jaw, updating its submodules, managing development and release branches, or publishing the package to npm.
Why use it?
It records the repository layout, branch rules, remote setup, and release process so changes are made and published consistently.

Instructions file for Claude CodeCodexOpenCode

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

This is lidge-jun/cli-jaw's own configuration. It tells Claude Code, Codex and OpenCode how to work on cli-jaw 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 cli-jaw configures →

Reuse

Borrowing it

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

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 cli-jaw AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lidge-jun/cli-jaw/agents-md"><img src="https://agentmods.dev/badge/instructions/lidge-jun/cli-jaw/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,345 This file is loaded in full into every session.
When invoked 13,345 The same file — it is already loaded in full.
Security scan C 2 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.13345 $0.13345
Opus 5.5 $0.05338 $0.05338
Sonnet 5.5 $0.02669 $0.02669
Haiku 4.5 $0.01334 $0.01334

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

Security

Grade C, and why

cli-jaw AGENTS.md 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- If an old commit accidentally stages Rust build artifacts, stop before committing and run `git rm -r --cached src/rhwp-field-bridge/target` plus `rm -rf src/rhwp-field-bridge/target`; commit only source, fixtures, test

Makes network callslowCapability

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

- 반영 여부 검증: `grep <new-symbol> dist/...` 또는 해당 엔드포인트 curl로 확인 후 안내.
AGENTS.md · 507 lines

How it starts

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

cli-jaw

System-level AI agent with full computer control via CLI wrapping (pi, agy, claude, codex, codex-app, cursor, kiro-code, gemini, grok, opencode, copilot).

Native Code API: /api/code is composed by src/code-mode/host.ts and src/routes/code-native.ts. Keep per-backend storage, captured turn ownership, full snapshots/compact replay, byte limits, native approval capabilities, and observed process-exit proof aligned with structure/runtime-integration.md and server_api.md. It uses direct native adapters rather than Jaw orchestration or its runtime pools.

Native Code interruption seals callbacks before persisting accepted buffered content under the captured store owner. Worker and Manager share the Code JSON body policy in src/routes/code-body-parser.ts (1MiB decoded prompt, 6MiB + 4KiB envelope); generic API limits stay separate. Settings navigation guards the drafts actually being discarded, including keyboard and desktop subscriptions.

Repository Structure

lidge-jun/cli-jaw              ← public (this repo)
├── skills_ref/  (submodule)   ← lidge-jun/cli-jaw-skills (public reference skills)
├── officecli/   (submodule)   ← lidge-jun/OfficeCLI (public)
└── .npmignore                 ← npm publish 시 submodules 제외

Remote / 브랜치 정책 (푸시 전 필수)

origin은 https://github.com/lidge-jun/cli-jaw.git 이다. 체크아웃에 따라 bitkyc08-arch/cli-jaw 로 남아 있을 수 있는데, 이건 같은 저장소의 옛 이름이라 GitHub이 리다이렉트해 준다. 동작은 하지만 gh(항상 lidge-jun/cli-jaw 로 해석)와 이름이 갈려서 "이슈는 A에, 푸시는 B에" 처럼 보이는 착시를 만든다. 발견하면 고칠 것:

git remote -v                                                    # 확인
git remote set-url origin https://github.com/lidge-jun/cli-jaw.git

작업은 전부 dev 에서 한다. main 과 preview 는 머지만 받는 브랜치다. 거기에 직접 커밋하지 않는다.

dev 는 항상 main 위에 fast-forward 가능한 상태로 유지한다. merge 커밋으로 main 을 끌어와 히스토리를 갈래지게 만들지 말고, rebase 로 main 바로 위에 올린다:

git fetch origin
git branch -f backup/dev-pre-rebase-$(date +%y%m%d) HEAD   # 되돌릴 지점
git rebase origin/main
git merge-base --is-ancestor origin/main HEAD && echo ff-able
git push --force-with-lease origin dev

Read the full file on GitHub · 507 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. 1mo ago Changed · +24 lines · +590 tokens per session 94092b701939
  2. 1mo ago Changed · +12 lines · +285 tokens per session 32dbca899109
  3. 1mo ago Changed · +105 tokens per session dcf9ed88019c
  4. 1mo ago Changed · +144 tokens per session 7e8b6de8b88e
  5. 1mo ago Changed · +7 lines · +594 tokens per session 02574d6a6ee6
  6. 1mo ago Changed · +7 lines · +263 tokens per session 6574bba2f9c7
  7. 1mo ago Changed · +12 lines · +684 tokens per session c2b72e2c69cb
  8. 1mo ago Changed · +72 lines · +3,208 tokens per session 4c1f9915138c
  9. 2mo ago Changed · +14 lines · +702 tokens per session df71de0d5caa
  10. 2mo ago First seen · 359 lines · 6,770 tokens per session scan C 9c87be0bbcbe

Subscribe to this mod's changes

cli-jaw AGENTS.md is an instructions file published in the GitHub repository lidge-jun/cli-jaw (208 stars, last pushed 1mo ago), licensed MIT. It adds 13,345 tokens to every session, about $0.0534 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cli-jaw AGENTS.md compared with instructions from other repositories

cli-jaw AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-jaw AGENTS.mdlidge-jun/cli-jawInstructions file2081mo agoMITC13,345Claude Code, Codex, OpenCode
skill-doctor github-automation.instructions.mdevilstar2016/skill-doctorInstructions file168d agoMITA72GitHub Copilot
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