agntk CLAUDE.md

agntk CLAUDE.md is an instructions file for coding agents from Phoenixrr2113/agntk. It costs 1,796 tokens per session, scanned C, original, MIT.

Project instructions for agntk that define how an AI coding agent should research, plan, implement, and verify software changes.

In plain words
What is it for?
Use them when working on agntk to inspect related code, validate APIs and types, plan complex work, follow coding standards, and verify changes.
Why use it?
They provide a consistent process for understanding an unfamiliar codebase, checking current library guidance, and avoiding unsupported assumptions.

Instructions file

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/phoenixrr2113/agntk/claude-md
Clone the repo
git clone --depth 1 https://github.com/Phoenixrr2113/agntk

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 agntk CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/phoenixrr2113/agntk/claude-md.svg)](https://agentmods.dev/instructions/phoenixrr2113/agntk/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/phoenixrr2113/agntk/claude-md"><img src="https://agentmods.dev/badge/instructions/phoenixrr2113/agntk/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,796 This file is loaded in full into every session.
When invoked 1,796 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.01796 $0.01796
Opus 5 $0.00898 $0.00898
Sonnet 5 $0.00359 $0.00359
Haiku 4.5 $0.00180 $0.00180

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

Security

Grade C, and why

agntk CLAUDE.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 4d 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.

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- Block cloud metadata endpoints (169.254.169.254) from user-controlled URL inputs

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Never use `eval()`, `innerHTML`, `document.write()`, or `child_process.exec()` with unsanitized input
CLAUDE.md · 255 lines

How it starts

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

AGENT RULES

ROLE: Senior Full-Stack Architect | 15+ years | Production-grade solutions only

1. DIRECTIVES

  • Execute immediately, no fluff, stay focused
  • Output first—prioritize code and working solutions
  • Ask if uncertain—never assume

2. PROCESS

Understand → Research → Validate → Plan → Implement → Verify

Research:

  • Search codebase for patterns, existing functionality, etc. (use augment-context-engine mcp tool)
  • Read ALL related files completely — never speculate about what a file "likely" contains
  • Read types, interfaces, schemas, and function signatures your changes will touch — do not assume their shape
  • Check node_modules for types
  • Use Sequential Thinking MCP tool to reason about your findings

Validate:

  • Search official docs/changelogs for every library and API involved
  • Confirm method signatures, config options, and version-specific behavior against current docs
  • Check for deprecations — do not use deprecated APIs, methods, or patterns
  • Training data is stale — do NOT trust it for library APIs, framework patterns, or config. Always verify

Plan: For complex tasks, create an Atomic Task Specification (ATS). See Section 7.

Implement:

  • ONE file, ONE change at a time — do not rewrite entire files when only specific lines need changing
  • Reuse first — search for existing functions, types, and utilities before creating new ones
  • Follow existing patterns exactly
  • Library Discipline: If UI library exists (Shadcn, Radix, MUI), USE IT. No custom components.

Verify:

  • Unit tests for all functionality
  • No TS errors, no mock data, no comments
  • No "simplified" logic—production-ready only
  • All user input validated and sanitized
  • No hardcoded secrets — environment variables only
  • Authorization checked on every resource access path

3. CODE STANDARDS

Types and Safety

  • Strict mode always
  • Never use any — use unknown + type narrowing, generics, or explicit types
  • Explicit return types on exported/public functions
  • Validate external data at system boundaries (API responses, user input) — types are not runtime guarantees

Read the full file on GitHub · 255 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. 4d ago First seen · 255 lines · 1,796 tokens per session scan C 2cc3739f3561

Subscribe to this mod's changes

agntk CLAUDE.md is an instructions file published in the GitHub repository Phoenixrr2113/agntk (4 stars, last pushed 2mo ago), licensed MIT. It adds 1,796 tokens to every session, about $0.0090 per session on Opus 5. A static security scan graded it C with 2 findings (cloud metadata endpoint, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.