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.
npx skills add melaya-labs/melaya-mcp --skill cto-coding-session-hygienegit clone --depth 1 https://github.com/melaya-labs/melaya-mcpWrote 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.
[](https://agentmods.dev/skills/melaya-labs/melaya-mcp/cto-coding-session-hygiene)<a href="https://agentmods.dev/skills/melaya-labs/melaya-mcp/cto-coding-session-hygiene"><img src="https://agentmods.dev/badge/skills/melaya-labs/melaya-mcp/cto-coding-session-hygiene/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.
<a href="https://agentmods.dev/skills/melaya-labs/melaya-mcp/cto-coding-session-hygiene"><img src="https://agentmods.dev/badge/skills/melaya-labs/melaya-mcp/cto-coding-session-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00099 | $0.00983 |
| Opus 5.5 | $0.00040 | $0.00393 |
| Sonnet 5.5 | $0.00020 | $0.00197 |
| Haiku 4.5 | $0.00010 | $0.00098 |
Grade A, and why
cto-coding-session-hygiene 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 20d 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Coding session hygiene
Keep what reaches review small, tested and proven by the session's own fields. A clean session is cheap to review and safe to push; a sprawling one wastes a deploy window.
Look up first
- The coding grant: repositories, base branch, configured checks and the computer. If
excom_code_taskis not offered, the grant is off or the computer is offline: ask the owner withexcom_request_setup. Never work around it. - The runbook that governs the change:
excom_knowledge_searchfor "coding sessions", "release checklist" or the area (for example "translation pipeline"). If none exists, proceed without and note it. - The team's commit message convention:
excom_knowledge_search"commit convention". If missing, use one line per change in the form type(scope): description, and propose the note withexcom_save_draft.
Steps
- Scope small: one goal, one repository, one concern. If the diff will plausibly exceed about 300 changed lines, split the goal, because large diffs hide defects.
- Write the goal test first: "Reproduce with a failing test in , then fix the cause, then run the checks." Pass the evidence (redacted, capped) and the runbook. Start with
excom_code_task(record write, asks under Prepare). - Wait with
excom_code_status(up to 60 seconds per call). Never start a second session on the same repository. - Judge the result, not the summary. Read status, diff stat, commits, checks, violations, evidence addressed and covering test. Apply the proof table below. A violation means the session failed and can never be pushed.
- If nothing shows the covering test failed before it passed, ask for a new session with that instruction, because a test never seen red proves nothing.
- A check reported "not run" is not a pass. Ask the owner to update the runner or fix the grant.
- Bad session:
excom_code_discard(draft) and start a narrower one. Good session: review it with skill cto-push-review-gate. A session from another executive always goes through that gate; only the CTO pushes. - Record the verdict with
excom_update_taskand any lesson (a flaky test name) withexcom_record_fact.
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.
- 20d ago First seen · 59 lines · 99 tokens per session scan A 2c24afe6701e
cto-coding-session-hygiene is a skill published in the GitHub repository melaya-labs/melaya-mcp (1 stars, last pushed 9d ago), licensed Apache-2.0. It adds 99 tokens to every session and 983 once invoked, about $0.0004 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-11-12.
cto-coding-session-hygiene compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cto-coding-session-hygienemelaya-labs/melaya-mcp | Skill | 1 | 9d ago | Apache-2.0 | A | 99 | Claude Code |
| papi-buildgetpapi/papi | Skill | 13 | 15d ago | MIT | A | 26 | Claude Code |
| papi-autogetpapi/papi | Skill | 13 | 15d ago | MIT | A | 35 | Claude Code |
| git-wrapupcyanheads/mcp-ts-core | Skill | 154 | today | Apache-2.0 | A | 109 | Claude Code, Codex |
| git-wrapupcyanheads/pubmed-mcp-server | Skill | 173 | 9d ago | Apache-2.0 | A | 109 | Claude Code |
| git-wrapupcyanheads/ntfy-mcp-server | Skill | 27 | 5d ago | Apache-2.0 | A | 109 | Claude Code |
| git-wrapupcyanheads/openalex-mcp-server | Skill | 18 | 15d ago | Apache-2.0 | A | 109 | Claude Code |