agentleFS
QuixiAIQuixiAI/agi-memory/skills/installed/knowledge-ingest/SKILL.md

knowledge-ingest

Skill617 starsChanged 10 months agoMITView on GitHub

Ingest URLs, documents, and text into the memory system as structured knowledge

We split this skill into the rules it gives an agent

12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user shares a URL and says "learn this" or "remember this article"

    line 18
  2. Distinctive:

    When a research workflow finds valuable sources that should be retained long-term

    line 19
  3. Distinctive:

    When the user pastes raw text (notes, transcripts, outlines) to be ingested

    line 20
  4. Distinctive:

    When importing reference material for a project or domain

    line 22
  5. Distinctive:

    Assess the source: Before ingesting, determine what kind of content it is (article, documentation, transcript, raw notes).

    line 26
  6. Very specific:

    Check for duplicates: Use recall with the URL or a key phrase from the content to see if it has already been ingested.

    line 28
  7. Very specific:

    Add context: When storing via remember, include metadata about the source: URL, author, date published, and why it was ingested (which goal …

    line 30
  8. Distinctive:

    Connect to goals: If the ingested content relates to an active goal, note the connection so future heartbeats can leverage it.

    line 32
  9. Distinctive:

    Prefer ingesting authoritative, primary sources over summaries or aggregators.

    line 36
  10. Distinctive:

    Do not ingest entire websites.

    line 37
  11. Distinctive:

    When ingesting long documents, let the chunking pipeline do its job.

    line 38
  12. Distinctive:

    Always record the source URL or origin.

    line 39

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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

Knowledge Base Ingestion

Transform external content -- web pages, documents, raw text -- into structured semantic memories that persist in the knowledge graph.

When to Use

  • When the user shares a URL and says "learn this" or "remember this article"
  • When a research workflow finds valuable sources that should be retained long-term
  • When the user pastes raw text (notes, transcripts, outlines) to be ingested
  • During heartbeats when a goal involves building knowledge on a specific topic
  • When importing reference material for a project or domain

Step-by-Step Methodology

  1. Assess the source: Before ingesting, determine what kind of content it is (article, documentation, transcript, raw notes). This guides how aggressively to summarize.
  2. Fetch and parse: For URLs, use url_ingest which handles fetching, HTML-to-text conversion, and chunking. For files or raw knowledge sources, use the fast/slow/hybrid ingestion tools as appropriate.
  3. Check for duplicates: Use recall with the URL or a key phrase from the content to see if it has already been ingested. Avoid storing the same source twice.
  4. Chunk intelligently: Long content is automatically chunked by the ingestion pipeline. Each chunk becomes a separate semantic memory linked by source metadata, and the raw source artifact remains searchable with search_documents and retrievable with open_document or open_documents. Use load_documents when a large source should be deliberately placed on the RecMem desk for later exact search. Trust the pipeline's chunking; do not manually split content unless it is clearly failing.
  5. Add context: When storing via remember, include metadata about the source: URL, author, date published, and why it was ingested (which goal or topic it serves).
  6. Verify ingestion: After ingestion completes, run a quick recall on a key concept from the content to confirm distilled knowledge is retrievable. For exact wording or large specifications, use search_documents, open_document, or load_documents instead of expecting recall to carry the whole source. For passage-level verification, search_document_chunks should find key phrases with page/section locators; list_desk shows what is already loaded before you load more.
  7. Connect to goals: If the ingested content relates to an active goal, note the connection so future heartbeats can leverage it.

Quality Guidelines

  • Prefer ingesting authoritative, primary sources over summaries or aggregators.
  • Do not ingest entire websites. Be selective -- ingest the specific pages that contain the needed information.
  • When ingesting long documents, let the chunking pipeline do its job. Each chunk retains a reference to the parent source.
  • Always record the source URL or origin. Memories without provenance are harder to evaluate and update later.
  • Respect rate limits and robots.txt when fetching URLs. If a fetch fails, note the failure and move on rather than retrying aggressively.
  • For sensitive or private content (internal docs, personal notes), ensure the user understands that ingested content persists in the local database.

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.

Reviews can't be read right now.

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.