Back to list
Harryoung

large-file-toc

by Harryoung

AI-powered knowledge management without vector embeddings. Built upon Claude Agent SDK, File system based, Agent driven. Maybe slower, but results are much more reliable!

70🍴 11📅 Jan 23, 2026

SKILL.md


name: large-file-toc description: Generate table of contents overview for large files. When onboarded Markdown file exceeds threshold (default 30KB), extract heading structure to create navigation file. Trigger condition: Markdown file size >= 30KB.

Large File Table of Contents Overview Generation

Generate table of contents overview for large Markdown files for quick user navigation.

Applicable Conditions

  • Markdown file size >= 30KB
  • Automatically triggered at onboarding stage 5 (write and update)

Quick Workflow

  1. Extract headings: Use Grep to search ^#+\s+.*$
  2. Generate overview: Create contents_overview/{filename}_overview.md
  3. Update README: Record overview file path

Grep Extract Headings

grep -n '^#' knowledge_base/path/to/file.md

Output example:

10:# Chapter 1 Introduction
150:## 1.1 Background
180:## 1.2 Objectives
400:# Chapter 2 Methodology

Table of Contents Overview Format

See TOC_TEMPLATE.md

README Update Format

- [filename.md](path/to/file.md) (XXX KB) - Brief description [Table of Contents](contents_overview/filename_overview.md)

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon