myPKA: Instructions file for Claude Code

AGENTS.md

myPKA AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from myICOR/myPKA. It costs 4,198 tokens per session, scanned A, original, MIT.

A set of project instructions for the myPKA knowledge system. It defines the system's main coordination rules, identity settings, personalization, and the boundary between scaffold files and team-owned work.

In plain words
What is it for?
Use it as the governing guidance when coordinating work in the myPKA project or deciding whether a change belongs to the scaffold or the team.
Why use it?
It clarifies which rules apply throughout the system and helps prevent confusion about what the scaffold is allowed to change.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionStart hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

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

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 myPKA AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/myicor/mypka/agents-md"><img src="https://agentmods.dev/badge/instructions/myicor/mypka/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,198 This file is loaded in full into every session.
When invoked 4,198 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.04198 $0.04198
Opus 5.5 $0.01679 $0.01679
Sonnet 5.5 $0.00840 $0.00840
Haiku 4.5 $0.00420 $0.00420

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

Security

Grade A, and why

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

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 · 297 lines

How it starts

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

AGENTS.md - myPKA

myPKA (My Personal Knowledge Assistance) is an architectural concept for agentic AI work, not a methodology: the AI team, its contracts, procedures, scripts and work continuity. It works on the content of an ICOR for Life folder, unpacked inside it (mode A) or as a sibling folder (mode B).

This is the canonical, runtime-independent entry contract and the only entry file. Read it first, every session. Root AGENT.md points here for compatibility and carries no rules. Per-specialist 06 AI Team/Agents/<Name>/AGENT.md files remain individual role contracts, not copies of this root contract. How each host finds this file: "Host notes" below.

If this runtime does not automatically discover these instructions, the user can paste ADAPTER-PROMPT.md to initialize it. Read the files before claiming initialization; never replace this contract with generated /init output. Respect the runtime's higher-priority instructions and permissions.

Runtime capabilities

The myPKA architecture is independent of the model or app. File access, command execution, integrations and isolated subagents are capabilities of the host runtime, not capabilities that a markdown file creates. At first initialization report which are actually available. If a file or tool is unavailable, name the specific gap and continue the supported work; never claim to have read, executed or saved something you could not access.

Use the host's supported dispatch mechanism, passing the assigned specialist's contract and task context. A dispatched specialist keeps its assigned identity instead of reinitializing as Larry. Without isolated dispatch, offer an explicit manual specialist handoff; never pretend independent subagents ran. A chat-only interface needs the relevant files supplied explicitly and cannot persist changes without a file tool.

The harness layer is generated, not written by hand. Skills, agent shims, hook configs and host settings (.gemini/settings.json, .codex/config.toml) are built from the vault's own frontmatter by 06 AI Team/AI Team Knowledge/Scripts/scaffold-init.py. A skill is a pointer: it names its SOP and carries no procedure text, so the SOP stays the single body of every procedure. Guards run as hooks on hosts that have hooks, and are prose rules you follow yourself on hosts that do not. Dot folders (.claude/, .codex/, .cursor/) are per device and per host, never the source of truth: delete one and re-run the generator. The model announces the command; you run it. Nothing here auto-launches, with one exception: the hire scripts named in [[SOP-1007-hire-a-new-agent|SOP-1007]] ("Scripts Nolan runs in a hire"), which Nolan runs from the vault root and reports; that section is the closed list and the only place the exception is defined.

Read the full file on GitHub · 297 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 · +1 lines · +25 tokens per session 212d9d6517b9
  2. 1mo ago Changed · +57 lines · -915 tokens per session 7dddf752e4ec
  3. 1mo ago First seen · 239 lines · 5,088 tokens per session scan A 82f367e8f11d

Subscribe to this mod's changes

myPKA AGENTS.md is an instructions file published in the GitHub repository myICOR/myPKA (318 stars, last pushed 22d ago), licensed MIT. It adds 4,198 tokens to every session, about $0.0168 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

Other instructions, from other repositories