agentleFS
pantheon-orgpantheon-org/tekhne/skills/agentic-harness/vault-fetch/SKILL.md

vault-fetch

Skill10 starsChanged 39 days agoMITView on GitHub

Fetch a URL, extract its text content, and persist it as a semantic memory tagged with the source URL for future retrieval. Use when the user shares a link to documentation, a GitHub issue, a blog post, or any reference material that should be available across sessions without re-fetching.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the fetch fails (non-2xx response, timeout, or auth-gated page), fall back to capturing the URL and title manually:

    line 42
  2. Distinctive:

    Never wait to be asked: when the user pastes a reference URL — fetch it proactively

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

vault-fetch

Fetch a URL, extract its text content, and persist it as a semantic memory.

Mindset

Any URL the user pastes that represents reference material — documentation, an issue, an RFC, a blog post — should be fetched proactively without waiting to be asked. If the URL will be useful in more than the current message, persist it.

When to use

  • User shares a documentation link to consult during the project
  • A GitHub issue or PR contains important context
  • External reference material needs to be available across sessions

How to use

vault-cli fetch "<url>" [--project <id>]

The content is automatically:

  • Captured with tier: semantic and forceCapture: true
  • Truncated to 4000 characters
  • Tagged with the source URL

No --tier flag is needed or accepted — tier is set automatically.

Error handling

If the fetch fails (non-2xx response, timeout, or auth-gated page), fall back to capturing the URL and title manually:

vault-cli capture --text "Reference: <title> — <url>" --tier semantic --tags reference,<topic>

Examples

vault-cli fetch "https://bun.sh/docs/api/sqlite"
vault-cli fetch "https://github.com/org/repo/issues/42" --project my-app
vault-cli fetch "https://datatracker.ietf.org/doc/html/rfc9457" --project api

Never

  • Never add --tier — tier is set automatically to semantic; passing it will cause an error
  • Never fetch auth-gated URLs (e.g. private GitHub repos, internal wikis behind SSO) — they return 401/403 and capture an error page instead of useful content; use the manual capture fallback instead
  • Never fetch file:// or localhost URLs — these are local paths unavailable to the fetch command
  • Never wait to be asked when the user pastes a reference URL — fetch it proactively

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.