Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计通过

wiki-status维基状态

Agent Skill

wiki-status 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

21,086

周安装

853

GitHub Stars

801

下载量

6,619
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wiki-status(维基状态)
来源仓库:https://github.com/ar9av/obsidian-wiki
仓库路径:skills/wiki-status
安装命令:
npx skills add https://github.com/ar9av/obsidian-wiki --skill wiki-status
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ar9av/obsidian-wiki --skill wiki-status

简介

wiki-status 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前顶部介绍为空,原始 SKILL.md 摘录未提供。
  • 暂无其他已知细节。

SKILL.md

Wiki Status — Audit & Delta

You are computing the current state of the wiki: what's been ingested, what's new since last ingest, and what the delta looks like. This helps the user decide whether to append (ingest the delta) or rebuild (archive and reprocess everything).

Before You Start

  1. Read .env to get OBSIDIAN_VAULT_PATH, OBSIDIAN_SOURCES_DIR, CLAUDE_HISTORY_PATH, CODEX_HISTORY_PATH
  2. Read .manifest.json at the vault root — this is the ingest tracking ledger

The Manifest

The manifest lives at $OBSIDIAN_VAULT_PATH/.manifest.json. It tracks every source file that has been ingested. If it doesn't exist, this is a fresh vault with nothing ingested.

{
  "version": 1,
  "last_updated": "2026-04-06T10:30:00Z",
  "sources": {
    "/absolute/path/to/file.md": {
      "ingested_at": "2026-04-06T10:30:00Z",
      "size_bytes": 4523,
      "modified_at": "2026-04-05T08:00:00Z",
      "source_type": "document",
      "project": null,
      "pages_created": ["concepts/transformers.md"],
      "pages_updated": ["entities/vaswani.md"]
    },
    "~/.claude/projects/-Users-name-my-app/abc123.jsonl": {
      "ingested_at": "2026-04-06T11:00:00Z",
      "size_bytes": 128000,
      "modified_at": "2026-04-06T09:00:00Z",
      "source_type": "claude_conversation",
      "project": "my-app",
      "pages_created": ["entities/my-app.md"],
      "pages_updated": ["skills/react-debugging.md"]
    }
  },
  "projects": {
    "my-app": {
      "source_path": "~/.claude/projects/-Users-name-my-app",
      "vault_path": "projects/my-app",
      "last_ingested": "2026-04-06T11:00:00Z",
      "conversations_ingested": 5,
      "conversations_total": 8,
      "memory_files_ingested": 3
    }
  },
  "stats": {
    "total_sources_ingested": 42,
    "total_pages": 87,
    "total_projects": 6,
    "last_full_rebuild": null
  }
}

Step 1: Scan Current Sources

Build an inventory of everything available to ingest right now:

Documents (from OBSIDIAN_SOURCES_DIR)

Glob each directory in OBSIDIAN_SOURCES_DIR for all text files
Record: path, size, modification time

Claude History (from CLAUDE_HISTORY_PATH)

Glob: ~/.claude/projects/*/          → project directories
Glob: ~/.claude/projects/*/*.jsonl   → conversation files
Glob: ~/.claude/projects/*/memory/*.md → memory files
Record: path, size, modification time, parent project

Codex History (from CODEX_HISTORY_PATH)

Glob: ~/.codex/session_index.jsonl            → session inventory index
Glob: ~/.codex/sessions/**/rollout-*.jsonl    → session rollout transcripts
Glob: ~/.codex/history.jsonl                  → optional local history log
Glob: ~/.codex/archived_sessions/**/rollout-*.jsonl → archived rollouts (if user wants archive coverage)
Record: path, size, modification time, inferred project from cwd when available

Any other sources the user has pointed at previously

Check the manifest for source paths outside the standard directories.

Step 2: Compute the Delta

Compare current sources against the manifest. Classify each source file:

StatusMeaningAction needed
NewFile exists on disk, not in manifestNeeds ingesting
ModifiedFile in manifest, hash differs from content_hashNeeds re-ingesting
TouchedFile in manifest, mtime newer but hash unchangedSkip — content identical, no re-ingest needed
UnchangedFile in manifest, mtime and hash both matchNothing to do
DeletedIn manifest, but file no longer exists on diskNote it — wiki pages may be stale

When a manifest entry has no content_hash (older entry), fall back to mtime comparison only.

For Claude history specifically, also compute:

  • New projects (directories in ~/.claude/projects/ not in manifest)
  • New conversations within existing projects
  • Updated memory files

For Codex history specifically, also compute:

  • New rollout files under sessions/**
  • Updated session_index.jsonl entries (session title/freshness changes)
  • Archived rollout delta only when archive coverage is requested

Step 3: Report the Status

Visibility tally (before rendering the report): Grep frontmatter across all vault .md pages for visibility/internal and visibility/pii tag values. Count:

  • public = pages with visibility/public tag or no visibility/ tag at all
  • internal = pages with visibility/internal tag
  • pii = pages with visibility/pii tag

Include this in the Overview section as Page visibility: N public · M internal · K pii. Skip the line if all pages are untagged (fully public vault).

Present a clear summary:

# Wiki Status

## Overview
- **Total wiki pages:** 87 across 6 categories
- **Page visibility:** 72 public · 11 internal · 4 pii
- **Total sources ingested:** 42
- **Projects tracked:** 6
- **Last ingest:** 2026-04-06T11:00:00Z

## Delta (what's changed since last ingest)

### New sources (never ingested): 12
| Source | Type | Size |
|---|---|---|
| ~/Documents/research/new-paper.pdf | document | 2.1 MB |
| ~/.claude/projects/-Users-.../session-xyz.jsonl | claude_conversation | 340 KB |
| ~/.codex/sessions/2026/04/12/rollout-...jsonl | codex_rollout | 220 KB |
| ... | | |

### Modified sources (need re-ingesting): 3
| Source | Last ingested | Last modified | Delta |
|---|---|---|---|
| ~/notes/architecture.md | 2026-04-01 | 2026-04-05 | 4 days newer |
| ... | | | |

### New projects (not yet in wiki): 2
- **tractorex** (3 conversations, 2 memory files)
- **papertech** (1 conversation, 0 memory files)

### Deleted sources (ingested but gone): 0

## Summary
- **Ready to ingest:** 12 new + 3 modified = 15 sources
- **Up to date:** 27 sources unchanged
- **Recommendation:** Append (delta is small relative to total)

Step 4: Recommend Action

Based on the delta, recommend one of:

SituationRecommendation
Delta is small (<20% of total)Append — just ingest the new/modified sources
Delta is large (>50% of total)Rebuild — archive and reprocess everything
Many deleted sourcesLint first — check for stale pages, then decide
First time / empty vaultFull ingest — process everything
User just wants to see statusNo action — just report

Tell the user:

  • "You have X new sources and Y modified sources. I'd recommend [append/rebuild]."
  • "Want me to [ingest the delta / rebuild from scratch / just look at a specific project]?"

Insights Mode

Triggered when the user asks something like "wiki insights", "what's central in my wiki", "show me the hubs", "cross-domain bridges", "what pages are most important", or "wiki structure". This mode is *additive* — it doesn't replace the delta report, it analyzes the *shape* of the wiki itself.

Where the delta report tells the user what's pending, insights mode tells them what they've already built and where the interesting structure lives. Complements wiki-lint (which finds *problems*) by surfacing *interesting structure*.

What to compute

First, build the wikilink graph. Glob all .md pages, extract every [[wikilink]], and build:

  • incoming[page] = count of other pages that link to this page
  • outgoing[page] = count of pages this page links out to
  • tags[page] = set of tags from frontmatter
  • category[page] = directory prefix (concepts/, entities/, skills/, etc.)

You'll reuse this graph across all sections below.


  1. Anchor pages (top hubs). Pages with the most incoming links — the load-bearing concepts.

- Rank all pages by incoming count, take top 10 - For each, note both incoming and outgoing counts: pages with high incoming *and* high outgoing are connector hubs (most valuable) - Pages with high incoming but zero outgoing are sink hubs — flag as cross-linker candidates

  1. Bridge pages. Pages that connect otherwise-disconnected tag clusters — removing them would partition the graph. These are often more structurally important than raw hub count suggests.

- For each page P, find pairs of pages (A, B) where: - A links to P, B is linked from P (or vice versa) - A and B share no tags with each other - P is the only path between A's tag cluster and B's tag cluster within 2 hops - Rank by how many cross-cluster pairs P bridges; show top 5 - Label each: "P bridges [tag-cluster-A][tag-cluster-B]"

  1. Tag cluster cohesion. For each tag with ≥ 5 pages, score how tightly the pages within it are interconnected:

- n = number of pages sharing this tag - actual_links = number of wikilinks between any two pages in this tag group - cohesion = actual_links / (n × (n−1) / 2) — ratio of actual links to maximum possible - Fragmented clusters (cohesion < 0.15, n ≥ 5): these pages share a topic but aren't woven together. Surface them as cross-linker targets. - Show top 5 tags by cohesion (strongest clusters) and bottom 5 (most fragmented)

  1. Surprising connections. Cross-category wikilinks that are non-obvious — scored by how unexpected they are:

- Score each wikilink that crosses category boundaries (e.g., concepts/entities/, skills/synthesis/): - +3 if the linking page or claim is marked ^[ambiguous] (uncertain connection, worth reviewing) - +2 if the linking page is marked ^[inferred] (synthesized, not directly stated) - +2 if the categories are in different knowledge layers (e.g., conceptsentities more surprising than conceptsconcepts) - +2 if source page has ≤ 2 total links (peripheral) but target has ≥ 8 (hub) — unexpected reach from edge to center - Show top 5 scored connections with a plain-language reason for each

  1. Orphan-adjacent suggestions. Pages linked from a top-10 hub but with zero outgoing links of their own. Dead-ends in high-traffic areas — prime cross-linker candidates.
  2. Rough clusters. Group anchor pages by dominant tag. (Simple tag intersection — just for orientation.)
  3. Graph delta since last run. Compare the current link graph to the snapshot stored in the previous _insights.md:

- Read the <!-- GRAPH_SNAPSHOT:... --> line at the bottom of the previous _insights.md (if it exists) — it contains a compact JSON edge list - Compute: new pages added, pages removed, new wikilinks created, wikilinks removed - Flag: pages that were isolated last run but now have incoming links ("newly connected: X, Y") - Flag: pages that lost incoming links since last run ("link target may have been renamed: A, B") - If no previous snapshot exists, skip this section

  1. Suggested questions. Questions this wiki structure is uniquely positioned to answer — or that reveal gaps:

- From ^[ambiguous] claims: "Resolve: What is the exact relationship between X and Y?" - From bridge pages: "Explore: Why does P connect [cluster-A] to [cluster-B]?" - From pages with zero incoming links: "Link: X has no incoming links — what should reference it?" - From fragmented clusters (cohesion < 0.15): "Audit: Should tag [T] be split into more focused sub-tags?" - Show up to 7, prioritizing AMBIGUOUS first, then bridge nodes, then isolates


Output

Write the result to _insights.md at the vault root. Overwrite freely — it's regenerable. At the very end, embed a compact graph snapshot as an HTML comment so the next run can diff against it.

# Wiki Insights — <TIMESTAMP>

## Anchor Pages (top 10 hubs)
| Page | Incoming | Outgoing | Note |
|---|---|---|---|
| [[concepts/transformer-architecture]] | 23 | 8 | connector hub |
| [[entities/andrej-karpathy]] | 17 | 0 | sink hub — cross-linker candidate |

## Bridge Pages (top 5)
| Page | Bridges | Cross-cluster pairs |
|---|---|---|
| [[concepts/exponential-growth]] | #ml ↔ #economics | 4 pairs |

## Tag Cluster Cohesion
### Most cohesive (well-linked)
- **#ml** — 12 pages, cohesion 0.41
### Most fragmented (cross-linker targets)
- **#systems** — 7 pages, cohesion 0.06 ⚠️ run cross-linker on this tag

## Surprising Connections (top 5)
- [[concepts/scaling-laws]] → [[entities/gordon-moore]] — score 5
  - Reason: cross-layer (concepts ↔ entities), marked ^[inferred]
- ...

## Orphan-Adjacent (dead-ends near hubs)
- [[concepts/foo]] — linked from 3 hubs, 0 outbound links

## Rough Clusters
- **#ml** — transformer-architecture, attention-mechanism, scaling-laws
- **#systems** — distributed-consensus, raft, paxos

## Graph Delta Since Last Run
- +3 new pages, +11 new wikilinks
- Newly connected: [[concepts/bar]], [[entities/baz]]
- Lost incoming links: [[references/old-paper]] (target may have been renamed)

## Questions Worth Asking
1. Resolve: What is the exact relationship between `scaling-laws` and `moore's-law`? (^[ambiguous] claim)
2. Explore: Why does `exponential-growth` bridge #ml and #economics?
3. Link: `references/foo.md` has no incoming links — what should reference it?
4. Audit: Should tag `#systems` be split? (cohesion 0.06, 7 pages)

<!-- GRAPH_SNAPSHOT: {"nodes":["concepts/foo","entities/bar"],"edges":[["concepts/foo","entities/bar"]]} -->

After writing the file, append to log.md:

- [TIMESTAMP] STATUS_INSIGHTS anchors=10 bridges=N cohesion_checked=T surprising=5 questions=7 delta="+N pages +M links"

When to skip

  • Vaults with fewer than 20 pages — not enough graph structure. Tell the user and skip.
  • After a fresh wiki-rebuild — wait until at least one ingest has happened.

Notes

  • If the manifest doesn't exist, report everything as "new" and recommend a full ingest
  • This skill only reads and reports — it doesn't modify anything (except writing _insights.md in insights mode, which is regenerable)
  • The actual ingest work is done by the ingest skills (wiki-ingest, claude-history-ingest, codex-history-ingest, data-ingest)
  • Those skills are responsible for updating the manifest after they finish

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.74%
按下载量换算2,564

Claude

31.03%
按下载量换算2,054

Cursor

16.55%
按下载量换算1,095

Gemini CLI

8.54%
按下载量换算565

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills