AGENT SKILL

wiki-harvest

Propose-only sweep of recent coding sessions (via the ax CLI) for recurring concepts that are missing from, or should update, the personal LLM wiki at ~/wiki. Writes candidate briefs to ~/wiki/inbox/ only - never wiki pages. Use on schedule or when the user asks "harvest the wiki" or "what concepts am I repeating".

License 许可
MIT
所属仓库
Necmttn/skills
最近更新
2026-11-07
Stars
★ 0
Forks
0

01 前言 Front Matter

name
wiki-harvest
description
Propose-only sweep of recent coding sessions (via the ax CLI) for recurring concepts that are missing from, or should update, the personal LLM wiki at ~/wiki. Writes candidate briefs to ~/wiki/inbox/ only - never wiki pages. Use on schedule or when the user asks "harvest the wiki" or "what concepts am I repeating".

03 SKILL.md 正文

Wiki harvest

Finds concepts the user keeps re-deriving across codebases and proposes them to the wiki. PROPOSE-ONLY: the quera lesson is that extraction without global context produces weak knowledge, so this skill never writes pages - a curator (/wiki-ingest) makes the editorial call.

Window

  1. Orient first: read ~/wiki/SCHEMA.md, then ~/wiki/index.md, then the last ~20 lines of ~/wiki/log.md - the same protocol every wiki writer follows.
  2. Read ~/wiki/inbox/.harvest-checkpoint.json. If last_harvested_at exists, harvest from there to now. If missing: last 7 days. Cap any gap at 14 days and say so in the report.
  3. Update the checkpoint ONLY after a successful run, writing BOTH last_harvested_at (ISO-8601 local) and last_harvested_epoch (date +%s integer - the scheduler guard depends on it).

Procedure

  1. Load the dedup baseline from the index you already read: every slug plus all frontmatter aliases: values (rg -N "^aliases:" ~/wiki -g '!raw/**').

  2. Sweep the window's coding activity with ax, multiple angles:

    • ax sessions around <date> for each active day - what was worked on
    • ax recall "<candidate term>" --scope=all to test recurrence of concepts you notice in session summaries
    • ax skills usage for heavily-used skill areas in the window Judge from the evidence: which concepts, patterns, or hard-won lessons appeared in MORE THAN ONE session or repo?
  3. Drop candidates already covered by a slug or alias - unless the new evidence clearly extends or contradicts the page; then the brief proposes an UPDATE and names the page.

  4. For each surviving candidate write ~/wiki/inbox/<yyyy-mm-dd>-<slug>.md:


    title: <Concept Name> created: <yyyy-mm-dd> type: brief proposal: new-page | update:<existing-slug>

    Why it recurs

    <2-4 sentences: where it showed up, why it is durable>

    Evidence

    • <repo> - session <ax-session-id> - <one line>
    • <repo> - session <ax-session-id> - <one line>

    Suggested wikilinks

    • [[<related-existing-page>]]
  5. Report: window covered, briefs written (paths), candidates dropped as already-covered. If nothing qualifies: write no briefs, still update the checkpoint, and say "no new candidates".

Rules

  • Write ONLY under ~/wiki/inbox/. Never pages, never index.md, never log.md, never raw/.
  • Never git commit in ~/wiki.
  • 3-7 briefs per run maximum - propose the strongest, not everything.
  • The ax write-guard hook blocks the Write/Edit tools under ~/wiki; write vault files via shell (tee/heredoc), or run with ALLOW_MAIN_WRITE=1 in the session environment.

04 同仓库更多 Skills

Necmttn
Necmttn/skills

wiki

Recall from the personal LLM wiki at ~/wiki. Use when the user asks what the wiki says, wants prior thinking/intuition on a concept, or when grounding a design or decision in previously synthesized knowledge. Read-only - never writes to the wiki.

★ 0
Necmttn
Necmttn/skills

wiki-ingest

Curate a source into the personal LLM wiki at ~/wiki following its SCHEMA.md - a file, URL, research output, ax session, or a pending ~/wiki/inbox/ brief. Use when the user says "add this to the wiki", "ingest this", "promote the inbox", or after research worth keeping long-term.

★ 0
Necmttn
Necmttn/skills

no-ai-slop

Strip AI-slop patterns from a draft while preserving the writer's voice, or detect slop without rewriting. Use as the mandatory final pass on any copy before shipping, when the user wants a draft clearer/less AI-sounding, or when asked "is this AI slop?", "audit this writing", "does this read as AI".

★ 0
Necmttn
Necmttn/skills

aso-appstore-screenshots

Generate high-converting App Store screenshots by analyzing your app's codebase, discovering core benefits, and creating ASO-optimized screenshot images using Nano Banana Pro.

★ 0
Necmttn
Necmttn/skills

app-idea

Run a new or existing consumer/AI app idea through the golden-track playbook (~/wiki/playbook/apps.md) from intake to verdict, write a verdict card, stop for the owner, and ratchet owner overrides back into the doctrine. Use when the user shares an app idea, asks "should I build X", "audit <app>", "re-score <app>", or pastes an idea in a product context. Never builds; never promotes a rule on its own.

★ 0
Necmttn
Necmttn/skills

wrap-up

Close down a work session or agent pane cleanly - review the work against every dimension (complete, edge cases, correct, consistent, production ready, goals met), land or file everything of value (follow-up tickets for loose ends, concerns, debt), add human-verification items to a `uat`-labeled checklist issue (builds to verify, flows to smoke), then do safe-only housekeeping (pushed worktrees, own background processes, created sims) and report what was closed, filed, and kept. Use when a session's work is done and the user says "wrap up", "close this down", "can we close this", "clean up and land it", when a fleet run or chunk finishes, or before ending a long session that minted resources.

★ 0