agentleFS
praveencpraveenc/llmstxt-doc-search/skills/manage-sources/SKILL.md

manage-sources

Skill0 starsChanged 4 days agoMITView on GitHub

Add, refresh or remove llms.txt documentation sources in llmstxt-doc-search. Use when the user wants to search a doc site that is not registered yet, when a source fails to index or looks stale, or when the user asks to drop a source. Do not use for other kinds of sources, such as git remotes, package registries or indexes, data sources, RSS feeds or browser caches, or to just search or read docs that are already registered (use docs-lookup).

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. VincenzoImp/openings★ 8same name
    2. VincenzoImp/openings-job-search★ 8same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call list_doc_sources() to see each source's name, llms.txt URL and index status, including lastError for a failing source.

    line 9
  2. Very specific:

    Call add_doc_source(name, llms_txt_url) with a short id for name, for example langgraph.

    line 14
  3. Distinctive:

    If the llms.txt cannot be fetched or has no links, nothing is saved and the call returns an error.

    line 17
  4. Very specific:

    Call refresh_doc_source(name) to re-index from its llms.txt and pick up new or changed docs.

    line 22
  5. Distinctive:

    Only remove a source the user asked to remove.

    line 30
  6. Very specific:

    If a result returns confirmation_required: true or reason: "cancelled", nothing was changed.

    line 37
  7. Very specific:

    Ask the user in chat, and call again with confirm: true only after they agree.

    line 38
  8. Very specific:

    Never pass confirm: true on your own.

    line 39

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Manage doc sources

Sources live in a persisted registry, so changes last across runs. Call list_doc_sources() to see each source's name, llms.txt URL and index status, including lastError for a failing source.

Add a source

  1. Find the site's llms.txt URL (usually https://<docs-host>/llms.txt).
  2. Call add_doc_source(name, llms_txt_url) with a short id for name, for example langgraph.
  3. The source is indexed at once. On success the result includes docCount. If the llms.txt cannot be fetched or has no links, nothing is saved and the call returns an error. An already registered name or llms.txt URL is also rejected.

Refresh a source

  • Call refresh_doc_source(name) to re-index from its llms.txt and pick up new or changed docs.
  • A source whose llms.txt failed to index is skipped for 5 minutes. refresh_doc_source retries it at once, so use it after a fix instead of waiting.

Remove a source

  • Call remove_doc_source(name). It is marked destructive: it deletes the source from the persisted registry.
  • Only remove a source the user asked to remove.

Confirmation

add_doc_source and remove_doc_source take an optional confirm flag. On a client that can show a prompt, the server asks the user before it changes the registry. Let the user answer it, and do not retry after they decline. If a result returns confirmation_required: true or reason: "cancelled", nothing was changed. Ask the user in chat, and call again with confirm: true only after they agree. Never pass confirm: true on your own.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.