create-index: Maintaining the LLM Wiki Knowledge Base using index.md and log.md

Introduction

A common issue when using Agents or scripts to continuously write Markdown into a Wiki is that pages become scattered across directories. Since the model can only read a limited context at once, it is difficult to know “exactly what is in the library”; afterwards, it is also hard to answer “when and from which operation was this conclusion written in”. Relying solely on folder browsing or full-text search is costly and不利于 (detrimental to) incremental collaboration.

The following is an introduction to the SkillHub community Skill create-index (coordinates @user_6c29a21a/create-index, version 1.0.0). It is a set of indexing and logging specifications and operational guidelines for LLM Wiki: using index.md as a content-oriented global directory, and log.md to record operation contexts such as ingestion, query, and editing, enabling both models and humans to navigate, discover, and trace knowledge.

What is this

create-index is maintained by the community publisher user_6c29a21a, categorized as knowledge-management, and sourced from the community. The official description states: This Skill is used to build and maintain intelligent knowledge base indexes. By generating and managing two core files, index.md (content index) and log.md (operation log), it helps LLMs and users organize, discover, and trace knowledge. The tag requires_api_key=false indicates that installation and usage do not depend on additional API Keys.

The Skill body is delivered in a universal SKILL.md format (the installation package mainly contains SKILL.md and README.md), allowing Agents to execute according to the structures, fields, and processes in the documentation when maintaining the Wiki. The documentation also includes index/log examples, collaborative read-write flow descriptions, and optional Python/Shell parsing examples (served as reference implementations rather than standalone executable script packages).

Core Features

Combining the official SKILL.md and README.md, the verifiable capabilities include:

  1. index.md (Content Index)
    - Acts as the knowledge base “directory”: classified organization, one-line summaries, metadata (such as tags, status, updated, etc.).
    - Supports Navigation (narrowing scope when the target is clear), Discovery (browsing categories and tags), and Overview (evaluating coverage and structure).
    - Design principles include moderate hierarchical classification, a one-line summary for each entry, and consistent metadata fields.

  2. log.md (Operation Log)
    - Records operation types such as INGEST, QUERY, EDIT, LINT, and SYNTHESIZE, with fields including timestamp, session ID, tags, triggering query, source, and processing steps.
    - Used for traceability, debugging, and as an evidence chain for incremental learning; the documentation provides a structured entry format and examples of using Unix tools like grep and awk for statistics and filtering.

  3. Synergy between the two
    - Write: When ingesting or modifying a page, synchronously update the page file, the index.md entry, and append a record to log.md.
    - Read: First read index.md to establish a global understanding, check log.md for timeliness and history if necessary, and then load the specific page.
    - Advanced: The documentation describes hierarchical indexing (root index + category index), tag vocabulary, relationship graphs, and consistency check ideas for large Wikis.

  4. Enablement conventions in README
    - Rules can be written into SOUL.md or AGENTS.md: When reading documents, maintain the index according to this Skill; when retrieving materials, check the existing index.md first before supplementary retrieval.

Installation and Activation

The installation method provided on the official SkillHub page is: Let the AI install @user_6c29a21a/create-index by referring to the SkillHub installation instructions.

If the skillhub CLI is already installed on the local machine, you can first confirm the version and then install it to the current Agent’s skills directory (the --dir flag must be used during installation; otherwise, it defaults to ./skills/ and the Agent may not recognize it):

command -v skillhub && skillhub --version
skillhub install @user_6c29a21a/create-index --dir ~/.cursor/skills/

In Cursor, the skills directory is generally ~/.cursor/skills/; for Claude Code, it is ~/.claude/skills/; for Codex, it is ~/.codex/skills/ or .agents/skills/ under the project (subject to the SkillHub installation documentation). After installation, restart or refresh the Agent as required by the client to load the Skill.

If the CLI is not installed, you can execute a one-click script according to the installation documentation (full installation or CLI only):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Typical Usage

1. Create dual files in the Wiki root directory

Maintain the following in the Wiki project root (the documentation example is example-wiki/):

  • index.md: Categorized by concepts, entities, sources, synthesis pages, pending items, etc., using tables to list page links, one-line summaries, tags, and status.
  • log.md: Sectioned by date, with each entry starting with ### HH:MM:SS UTC | Operation Type | session:... | tags:[...], and filling in the triggering query, ingestion source, output result, etc.

The index.md table row quick reference format given in the documentation:

| [Page Title](Path) | One-line Summary | Tag1, Tag2 | Status |

log.md entry header example:

### 10:23:45 UTC | INGEST | session:2026-04-07-001 | tags:[ml,transformer,architecture]

**Triggering Query**: "Please summarize the core components and working principles of the Transformer architecture"
**Ingestion Source**: ./sources/papers/attention-all-you-need.md
**Output Result**: Created ./concepts/nlp/transformer-architecture.md

2. Page Front Matter and Index Linkage

Wiki pages can use YAML front matter to facilitate scanned generation or manual maintenance of index.md (fields are subject to the Skill documentation appendix):

---
title: Page Title
summary: Brief Summary
tags: [Tag1, Tag2]
status: completed
category: concepts
updated: 2026-04-07
related_pages: [page1.md, page2.md]
---

3. Use logs for retrieval and auditing

Documentation examples: Statistics on daily operations, filtering INGEST, searching sessions by tag, etc. For example:

grep "^###.*INGEST" log.md | head
grep -B 5 "tags:\[.*llm.*\]" log.md | grep "^###.*UTC"

4. Combining with Agent rules

README.md suggests writing the following intents into SOUL.md or AGENTS.md (in essence): Every time a Wiki document is read, update the index according to the create-index specification; when searching for external materials, prioritize locating based on the existing index.md, and then decide whether to expand the content.

Applicable Scenarios and Precautions

Who is it for

  • Scenarios where Markdown Wiki is used as a personal or team knowledge base, and LLM Agents are mainly responsible for continuous writing and revision.
  • Scenarios that require providing the model with a “full library map” in a small-sized index, while also requiring operation traces for easy review and debugging.
  • Teams categorized under knowledge-management who wish to unify index/log writing styles rather than defining formats arbitrarily per project.

Limitations and Precautions

  • The current installation package is an instructional Skill. Automation capabilities rely on the Agent executing according to SKILL.md, or manually implementing the Python/Shell examples in the documentation; it does not come with a standalone CLI service.
  • index.md needs hierarchical indexing or regular archiving when the number of pages is large, otherwise the single file will be too long; log.md will continue to grow, and the documentation suggests archiving or rolling logs every 30–90 days.
  • For multi-person collaboration, the documentation suggests using version control like Git, with logs primarily being appended to reduce conflicts.
  • SkillHub crawl data: Rating 100000, approximately 1107 downloads, 5 installation records (statistics change as the platform updates).

Conclusion

create-index separates and aligns the “current state” (index.md) and the “evolution process” (log.md) of the LLM Wiki, making it suitable as a common convention when Agents maintain knowledge bases. For installation or details, please open the SkillHub page and API entry:

  • SkillHub: https://www.skillhub.cn/skills/user_6c29a21a/create-index
  • Official Address: https://api.skillhub.cn/user_6c29a21a/create-index
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye