maintain-wiki

maintain-wiki is a cursor rule for Cursor from danielvm-git/bigpowers. It costs 40 tokens per session (515 once invoked), scanned A, original, MIT.

A maintenance guide for an agent-managed project wiki built from source documents such as agent instructions, conventions, and skills. It can import updates, check for problems, and answer questions across the wiki pages.

In plain words
What is it for?
Use it to regenerate documentation, lint the wiki for consistency, and maintain cross-references between project guidance and its concept pages.
Why use it?
It helps keep generated documentation aligned with the files it describes. It can reveal stale pages, orphaned concepts, broken links, and contradictions.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/sync-skills.sh --okf.

Good fit Use it to regenerate documentation, lint the wiki for consistency, and maintain cross-references between project guidance and its concept pages.

Compare 6 cursor rules from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers
agentmods
npx agentmods add rules/danielvm-git/bigpowers/maintain-wiki

Made for: Cursor.

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-wiki

README.md
[![agentmods](https://agentmods.dev/badge/rules/danielvm-git/bigpowers/maintain-wiki/github.svg)](https://agentmods.dev/rules/danielvm-git/bigpowers/maintain-wiki)
Your own site
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/maintain-wiki"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/maintain-wiki/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-wiki

Your own site · 80×15
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/maintain-wiki"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/maintain-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 515 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.00040 $0.00515
Opus 5.5 $0.00016 $0.00206
Sonnet 5.5 $0.00008 $0.00103
Haiku 4.5 $0.00004 $0.00052

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

Security

Grade A, and why

maintain-wiki 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 2mo 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.

.cursor/rules/maintain-wiki.mdc · 64 lines

What it actually says

Maintain Wiki

Three operations for keeping the OKF wiki bundle consistent with its source docs.

INGEST

Read source doc (CLAUDE.md, CONVENTIONS.md, or SKILL.md) and write/update OKF concept pages:

# Regenerate skills-wiki from SKILL.md files
bash scripts/sync-skills.sh --okf

# Regenerate conventions-wiki from CONVENTIONS.md
bash scripts/decompose-conventions.sh

# Regenerate agent-guide from CLAUDE.md
bash scripts/generate-agent-guide.sh

LINT

Check for common OKF issues:

  1. Stale concepts — source file mtime vs concept page mtime. If source is newer, concept is stale.
  2. Orphan concepts — concept page exists but source doc section no longer exists.
  3. Missing cross-references — skill concept pages with no enforced_by or references links.
  4. Contradictions — two concept pages that make opposite claims about the same topic.
  5. Broken links — internal OKF links that point to non-existent concept pages.
# Quick stale check: compare source vs concept mtimes
for page in specs/skills-wiki/skills/*.md; do
  skill=$(basename "$page" .md)
  source="skills/$skill/SKILL.md"
  if [ -f "$source" ] && [ "$page" -ot "$source" ]; then
    echo "STALE: $skill (SKILL.md newer than concept page)"
  fi
done

QUERY

Search across OKF concept pages to answer questions:

# Find all concepts about a topic
grep -rl "topic" specs/skills-wiki/ specs/conventions-wiki/ specs/agent-guide/

# Trace a convention → enforcing skills
grep -A1 "enforced_by" specs/conventions-wiki/*.md

# Find skill by description keyword
grep -ril "keyword" specs/skills-wiki/skills/*.md

Verify

→ verify: test -d specs/skills-wiki && test -d specs/conventions-wiki && test -d specs/agent-guide

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. 2mo ago First seen · 64 lines · 40 tokens per session scan A 0c0e03228c2b

Subscribe to this mod's changes

maintain-wiki is a cursor rule published in the GitHub repository danielvm-git/bigpowers (297 stars, last pushed 4d ago), licensed MIT. It adds 40 tokens to every session and 515 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-03.

Related

maintain-wiki compared with cursor rules from other repositories

maintain-wiki next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maintain-wikidanielvm-git/bigpowersCursor rule2974d agoMITA40Cursor
app-router-patternstugkanboz/awesome-cursorrulesCursor rule242mo agoMITA2,554Cursor
tddJkudjo/oh-my-cursorCursor rule117d agoMITA9Cursor
00-project-ruleskok-o/koko-contextos-agentsCursor rule22mo agoMITA4,614Cursor
nodekok-o/koko-contextos-agentsCursor rule22mo agoMITA0Cursor
python-cryptographic-failuresivangrynenko/cursorrulesCursor rule881y agoMITA0Cursor
unity-performanceCommon-ka/ai-agent-unity-rulesCursor rule4311mo agoMITA2Cursor