upgradeseo: Skill for Codex

.agents/skills/maintain-greptile-rules/SKILL.md

maintain-greptile-rules is a skill for Codex from upgrade-ventures/upgradeseo. It costs 97 tokens per session (928 once invoked), scanned A, a copy of maintain-greptile-rules, MIT.

A workflow for turning verified code-review findings into durable rules for Greptile, a code-review tool. It decides whether a finding belongs in configuration, documentation, tests, linting, or CI instead.

In plain words
What is it for?
Checking review findings against the current code, reading existing Greptile settings, and adding verified repository invariants to the appropriate enforcement or guidance file.
Why use it?
It prevents one-off bugs, guesses, and personal preferences from becoming noisy review rules. It keeps repository review guidance focused on repeatable risks.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to upgrade-ventures/upgradeseo. 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/upgrade-ventures/upgradeseo/main/.agents/skills/maintain-greptile-rules/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/upgrade-ventures/upgradeseo

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 maintain-greptile-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/upgrade-ventures/upgradeseo/maintain-greptile-rules/github.svg)](https://agentmods.dev/skills/upgrade-ventures/upgradeseo/maintain-greptile-rules)
Your own site
<a href="https://agentmods.dev/skills/upgrade-ventures/upgradeseo/maintain-greptile-rules"><img src="https://agentmods.dev/badge/skills/upgrade-ventures/upgradeseo/maintain-greptile-rules/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 maintain-greptile-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/upgrade-ventures/upgradeseo/maintain-greptile-rules"><img src="https://agentmods.dev/badge/skills/upgrade-ventures/upgradeseo/maintain-greptile-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 928 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 98% copy Near-identical to another mod 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.00097 $0.00928
Opus 5 $0.00048 $0.00464
Sonnet 5 $0.00019 $0.00186
Haiku 4.5 $0.00010 $0.00093

Measured 8d ago against content hash 5e250d9b1122, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

maintain-greptile-rules 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 8d 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.

Origin

This is a copy

98% identical to maintain-greptile-rules — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/maintain-greptile-rules/SKILL.md · 63 lines

How it starts

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

Maintain Greptile rules

Keep .greptile/ high-signal. A review finding is evidence to evaluate, not automatically a new rule.

1. Verify the finding

  • Reproduce or trace the finding against the current repository, including the relevant call path, tests, and intentional exceptions.
  • Read .greptile/config.json, .greptile/rules.md, and .greptile/files.json before proposing a change.
  • Distinguish a newly introduced risk from adjacent legacy debt. Do not encode an unverified assumption or a one-off implementation detail.
  • Repository absence is not policy evidence. If a reviewer infers a preference only because no current example exists, leave Greptile, code, and CI unchanged unless an owner explicitly adopts the policy.

2. Route it to the right mechanism

  • One-off bug: fix the code and add a focused regression test. Do not add a Greptile rule.
  • Verified deterministic policy violation: prefer TypeScript, Oxlint, Knip, a focused test, or CI.
  • Repeatable, diff-enforceable invariant: add or refine a scoped structured rule in .greptile/config.json.
  • Architecture, preference, or false-positive calibration: update .greptile/rules.md.
  • Canonical implementation Greptile should consult: add a narrowly scoped reference in .greptile/files.json.
  • Small workflow friction: use the papercuts skill and log it in .agents/PAPERCUTS.md.

3. Apply the promotion bar

Promote a finding only when all applicable checks pass:

  • It is verified against current code.
  • A future reviewer can observe it from the diff and relevant call path.
  • It is repository-specific or materially improves false-positive calibration.
  • It is likely to recur, or its impact is high enough to justify prevention: authorization, security, billing, data loss, or cross-database correctness.
  • Existing Greptile context and automated checks do not already cover it adequately.
  • The instruction can be specific, measurable, narrowly scoped, and explicit about legitimate exceptions.

Read the full file on GitHub · 63 lines

Files

What ships with it

1 file 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. 8d ago First seen · 63 lines · 97 tokens per session scan A 5e250d9b1122

Subscribe to this mod's changes

maintain-greptile-rules is a skill published in the GitHub repository upgrade-ventures/upgradeseo (1 stars, last pushed 21d ago), licensed MIT. It adds 97 tokens to every session and 928 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to maintain-greptile-rules, differing in 2 lines, and is treated as a copy.