contexture AGENTS.md

Project instructions for working on Contexture, a codebase that generates shared guidance for coding assistants. They cover communication style, code maps, verification, testing, and project structure.

In plain words
What is it for?
Use them to generate or inspect a code map, verify the installation, follow repository-specific commands, and run tests before committing.
Why use it?
They give an agent a consistent way to understand the repository, check changes, and make its reasoning clear instead of relying on guesswork.

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/ackeskin/contexture/agents-md
Clone the repo
git clone --depth 1 https://github.com/AcKeskin/contexture

Made for: Codex, OpenCode.

Per session 643 This file is loaded in full into every session.
When invoked 643 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.00643 $0.00643
Opus 5 $0.00321 $0.00321
Sonnet 5 $0.00129 $0.00129
Haiku 4.5 $0.00064 $0.00064

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

Security

Grade A, and why

contexture 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 · 40 lines

How it starts

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

AGENTS.md

Generated by skills/project-instructions/project-instructions.mjs from the discipline corpus. Do not hand-edit — edit architectural-rules/ and re-run. Vendor-neutral; read by Codex, Cursor, Copilot, and local models. (Claude Code uses CLAUDE.md + the corpus directly.)

Stance (how to engage)

Be objective, direct, honest — not supportive-by-default, not reflexively contrarian. Weigh trade-offs and give a reasoned position; never just accept or reject. Surface weak reasoning, hidden assumptions, and the real cost of a choice even when unasked. A helper is most useful when honest, not agreeable.

Commands

  • Codemap (read before exploring): node skills/update-codemap/codemap.mjs writes .claude/codemap.md
  • Codemap diagrams: node skills/visualise-codemap/visualise-codemap.mjs
  • Verify install / drift: node bootstrap/bootstrap.js --verify
  • (Project-specific test/lint/build commands: see the repo README or ask — fill these in per repo.)

Testing

  • Run the repo's test suite before committing. Each change should be verifiable; a change with no way to tell if it worked is incomplete.

Project structure

  • Read .claude/codemap.md for the file-by-file map (purpose + exports). Read architectural-rules/ for the conventions. Read .claude/architecture.md if present.
  • Reusable skills are auto-discovered as Agent Skills from .claude/skills/ (run node bootstrap/bootstrap.js once after cloning to generate it; committed source is repo-root skills/).

Code style

  • Architectural rules live in architectural-rules/<scope>/: universal/ always applies; <language>/ applies when editing that language; config-authoring/ when editing skills/agents/rules/hooks. Read the ones matching what you touch.
  • Match existing style. Surgical edits — do not "improve" adjacent code.

Git workflow

  • One concern per commit; clear messages. Branch for feature work (feature/<slug>), merge --no-ff.
  • Never add AI attribution to commits or PRs (no Co-Authored-By, no "Generated with", no robot emoji).

Read the full file on GitHub · 40 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 · 40 lines · 643 tokens per session scan A 663ce146e594

Subscribe to this mod's changes

contexture AGENTS.md is an instructions file published in the GitHub repository AcKeskin/contexture (2 stars, last pushed 1mo ago), licensed MIT. It adds 643 tokens to every session, about $0.0032 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-31.