go-authcrunch: Skill for Codex

.codex/skills/coding-directives/SKILL.md

coding-directives is a skill for Codex from greenpau/go-authcrunch. It costs 51 tokens per session (5,083 once invoked), scanned A, original, Apache-2.0.

A set of coding rules for editing or reviewing the Go authentication project. It describes where configuration, providers, storage, portal behavior, cryptographic keys, themes, tests, and release work belong.

In plain words
What is it for?
Use it before making or reviewing changes to the authentication server, its packages, configuration wiring, tests, themes, token behavior, cryptographic keys, automation, or releases.
Why use it?
It prevents changes from crossing package boundaries or breaking existing configuration and security contracts, while directing each kind of work to the right project guide.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

This is greenpau/go-authcrunch's own configuration. It tells Codex how to work on go-authcrunch 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 go-authcrunch configures →

Reuse

Borrowing it

Nothing to install: this file belongs to greenpau/go-authcrunch. 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/greenpau/go-authcrunch/main/.codex/skills/coding-directives/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/greenpau/go-authcrunch

Made for: Codex.

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 coding-directives

README.md
[![agentmods](https://agentmods.dev/badge/skills/greenpau/go-authcrunch/coding-directives/github.svg)](https://agentmods.dev/skills/greenpau/go-authcrunch/coding-directives)
Your own site
<a href="https://agentmods.dev/skills/greenpau/go-authcrunch/coding-directives"><img src="https://agentmods.dev/badge/skills/greenpau/go-authcrunch/coding-directives/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 coding-directives

Your own site · 80×15
<a href="https://agentmods.dev/skills/greenpau/go-authcrunch/coding-directives"><img src="https://agentmods.dev/badge/skills/greenpau/go-authcrunch/coding-directives.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,083 The whole file, excluding the scripts and references it only reads on demand.
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.00051 $0.05083
Opus 5.5 $0.00020 $0.02033
Sonnet 5.5 $0.00010 $0.01017
Haiku 4.5 $0.00005 $0.00508

Measured 12d ago against content hash a07dbcff2b3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coding-directives 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 12d 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.

.codex/skills/coding-directives/SKILL.md · 438 lines

How it starts

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

Coding Directives

Use openapi-generation to evaluate and update the YAML HTTP contract after handler, wire-model, validator or configuration changes.

Overview

Apply these directives when editing or reviewing go-authcrunch code. Prefer small, package-local changes that preserve AuthCrunch's existing runtime shape: top-level authcrunch.Config and Server wire package-owned configs, constructors, validators, providers, stores, portals, gatekeepers, registries, and crypto key stores.

Do not import or use reflect in non-test code. Use typed APIs, explicit type switches, and generic helpers where needed. Reflection-based test helpers belong in _test.go files and must not become production dependencies.

Go changes must meet the testing requirements. scripts-and-automation owns Make targets, generated assets, and dependency commands; release-and-versioning owns version invariants. The root routes select those workflows when their tasks are in scope.

APIs are unversioned. Do not add version segments or suffixes to routes, API filenames, operation/schema names, or protocol identifiers. Keep this contract consistent across implementation, clients, OpenAPI and skills.

Keep Skills Current

Treat relevant repo-local skill maintenance as part of completing every code change. After updating implementation and tests, review the owning skills and their linked references and update affected guidance in the same task, before reporting completion. Do not wait for a separate documentation request.

Use skill-authoring to synchronize the relevant skills with implemented behavior, configuration, ownership, and validation changes, including corrected paths or examples after a refactor.

Implementation workflows

  • Use authentication-portal-documents to maintain encrypted document storage, chunk transfers, recipient key envelopes, immutable account ownership and the external Documents React integration.

Read the full file on GitHub · 438 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago Changed a07dbcff2b3a
  2. 25d ago Changed · +8 lines 3cffeed393de
  3. 26d ago Changed · +7 lines 985d4b741930
  4. 28d ago Changed · +2 lines 630e8528a353
  5. 29d ago Changed · +21 lines 7cf945b6a138
  6. 1mo ago Changed · +4 lines c1a5ad67b36c
  7. 1mo ago Changed · +7 lines 44693b693c9b
  8. 1mo ago Changed · -19 lines · -48 tokens per session 73cb48ff568b
  9. 1mo ago Changed · +1 lines ec9b3fec9e6c
  10. 1mo ago First seen · 407 lines · 99 tokens per session scan A bd6af2819f63

Subscribe to this mod's changes

coding-directives is a skill published in the GitHub repository greenpau/go-authcrunch (60 stars, last pushed 10d ago), licensed Apache-2.0. It adds 51 tokens to every session and 5,083 once invoked, about $0.0002 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-09-13.

Related

coding-directives compared with skills from other repositories

coding-directives next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coding-directivesgreenpau/go-authcrunchSkill6010d agoApache-2.0A51Codex
autoreviewopenclaw/clawhubSkill9.5kyesterdayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA115Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill5.2kyesterdayMITA48Claude Code, Codex
revdiff-planumputun/revdiffSkill945yesterdayMITA84Claude Code
explore-unknownsdzhng/skillsSkill1.4k2d agoMITA162Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4k4d agoMITA70Claude Code