Agent skill

Large File Toc

by Harryoung in Harryoung/efka

Generate table of contents overview for large files. An agent skill from Harryoung/efka.

Apache-2.0Auto-check passedMarketing & SEO

Install Large File Toc

skills CLI
$ npx skills add Harryoung/efka --skill large-file-toc -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Harryoung/efka large-file-toc --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Harryoung/efka.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/large-file-toc .claude/skills/large-file-toc && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
large-file-toc
GitHub stars
104
Token cost
~293 tokens
SKILL.md length
72 words
Files
2
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate table of contents overview for large files. An agent skill from Harryoung/efka.

  • Works in 3 steps: Extract headings: Use Grep to search… → Generate overview: Create… → Update README: Record overview file path
  • Condition: Markdown file size = 30KB
  • SKILL.md covers Applicable Conditions, Quick Workflow, Grep Extract Headings and Table of Contents Overview…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Large File Toc is an agent skill from Harryoung/efka. 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.

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `TOC_TEMPLATE.md`).

It sits in Marketing & SEO, covering On-page SEO and Markdown. The repository describes itself as: 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! The licence is Apache-2.0.

When your agent uses it

  • Condition: Markdown file size = 30KB
  • Tasks that involve On-page SEO
  • Tasks that involve Markdown

Example prompts

  • “/large-file-toc”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 9e6d3a4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Large File Toc loads about 293 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 72 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~293

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Harryoung/efka at commit 9e6d3a4, republished under its Apache-2.0 licence (© Harryoung). 72 words, ~293 tokens.

Download SKILL.mdSave it as .claude/skills/large-file-toc/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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

bash
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

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

© Harryoung, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/large-file-toc of Harryoung/efka.

  • SKILL.md
  • TOC_TEMPLATE.md

Open the folder on GitHubat commit 9e6d3a4

Compare with similar skills

Large File Toc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Large File Toc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Large File Toc this skillHarryoung/efka104—~293Automated safety check: PassApache-2.0
Blog WriteAgriciDaniel/claude-blog2.3k1 repos~5.6kAutomated safety check: PassMIT
Blog WriteAgriciDaniel/claude-blog2.3k—~5.6kAutomated safety check: PassMIT
Screaming Frog Toolgarrettjsmith/localseoskills120—~2kAutomated safety check: PassMIT
SEO Keyword ClusteringAgriciDaniel/claude-seo19k2 repos~3.3kAutomated safety check: PassMIT
SEO Content Brief GeneratorAgriciDaniel/claude-seo19k2 repos~2.6kAutomated safety check: PassMIT

Similar skills

  • Blog Write

    AgriciDaniel/claude-blog

    Write new blog articles from scratch optimized for Google rankings and AI citations.

    2.3k GitHub starsUsed in 1 repo~5.6k tokens
    Writing & ContentAuto-check passed
  • Blog Write

    AgriciDaniel/claude-blog

    Write new blog articles from scratch optimized for Google rankings and AI citations.

    2.3k GitHub stars~5.6k tokensUpdated today
    Writing & ContentAuto-check passed
  • Screaming Frog Tool

    garrettjsmith/localseoskills

    When the user wants a technical site audit, crawl data analysis, location page quality checks, duplicate content detection, schema validation at scale, or internal linking analysis.

    120 GitHub stars~2k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • SEO Keyword Clustering

    AgriciDaniel/claude-seo

    Clusters keywords by how much their search results overlap and designs a hub-and-spoke content plan with an internal link matrix and an interactive cluster map.

    19k GitHub starsUsed in 2 repos~3.3k tokens
    Marketing & SEOAuto-check passed
  • SEO Content Brief Generator

    AgriciDaniel/claude-seo

    Builds research-backed SEO content briefs with competitor scoring, per-section word counts and page-type templates, for new pages or improving existing ones.

    19k GitHub starsUsed in 2 repos~2.6k tokens
    Marketing & SEOAuto-check passed
  • Remove bracketed NemoClaw tags from GitHub issue and PR titles.

    23k GitHub stars~693 tokensUpdated today
    Marketing & SEOAuto-check passed

More from Harryoung/efka

  • Excel Parser

    Harryoung/efka

    Smart Excel/CSV file parsing with intelligent routing based on file complexity analysis.

    104 GitHub stars~2.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Document Conversion

    Harryoung/efka

    Convert DOC/DOCX/PDF/PPT/PPTX documents to Markdown format. An agent skill from Harryoung/efka.

    104 GitHub stars~505 tokensUpdated 6 mo ago
    Auto-check passed
  • Batch Notification

    Harryoung/efka

    Send IM messages to users in batch. An agent skill from Harryoung/efka.

    104 GitHub stars~512 tokensUpdated 6 mo ago
    Auto-check passed
  • Expert Routing

    Harryoung/efka

    Domain expert routing. An agent skill from Harryoung/efka.

    104 GitHub stars~325 tokensUpdated 6 mo ago
    Auto-check passed
  • Satisfaction Feedback

    Harryoung/efka

    Handle user satisfaction feedback. An agent skill from Harryoung/efka.

    104 GitHub stars~346 tokensUpdated 6 mo ago
    Auto-check passed

Questions about Large File Toc

What does Large File Toc do?

Generate table of contents overview for large files. An agent skill from Harryoung/efka. Large File Toc is an agent skill from Harryoung/efka. Generate table of contents overview for large files.

When should I use Large File Toc?

Large File Toc fits situations like: condition: Markdown file size = 30KB; tasks that involve On-page SEO; tasks that involve Markdown.

How do I install Large File Toc in Claude Code?

Run `npx skills add Harryoung/efka --skill large-file-toc -a claude-code`. Or copy the skill folder (skills/large-file-toc in Harryoung/efka) into .claude/skills/large-file-toc in your project. Claude Code loads it when a task matches its description.

How do I install Large File Toc in Codex?

Run `npx skills add Harryoung/efka --skill large-file-toc -a codex`. Or copy the skill folder (skills/large-file-toc in Harryoung/efka) into .agents/skills/large-file-toc in your project. Codex loads it when a task matches its description.

Can I use Large File Toc in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Harryoung/efka --skill large-file-toc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/large-file-toc, .gemini/skills/large-file-toc, .github/skills/large-file-toc and .opencode/skills/large-file-toc in your project.

What does Large File Toc need to run?

SKILL.md names no scripts, command-line tools or credentials: Large File Toc is instructions for the agent only.

Does Large File Toc access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Large File Toc safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Large File Toc use?

Large File Toc is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Large File Toc use?

About 293 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Large File Toc?

Skills that share tags, products or a category with Large File Toc: Blog Write (AgriciDaniel/claude-blog, 2.3k stars), Blog Write (AgriciDaniel/claude-blog, 2.3k stars), Screaming Frog Tool (garrettjsmith/localseoskills, 120 stars) and SEO Keyword Clustering (AgriciDaniel/claude-seo, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Large File Toc?

Harryoung (a GitHub user) maintains it in Harryoung/efka, which has 104 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on March 16, 2026.

Source: Harryoung/efka on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.