agentleFS
egregore-labsegregore-labs/egregore/.claude/skills/ingest/SKILL.md

ingest

Skill291 starsChanged 2 months agoMITView on GitHub

Route and run organizational ingestion through Egregore Runtime for files, folders, meetings, Google Workspace, Notion, interviews, or bulk corpora. Use for 'ingest', 'bring this into Egregore', 'index this folder', or 'import our docs'.

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use lint, query and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    lint

    Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.

    Also in 13 projects that use this

  • ArtemXTechSkill

    query

    Query data from this vault. USE WHEN user asks about projects, clients, tasks, daily notes. Use grep to extract frontmatter - do NOT read full files.

    Also in 9 projects that use this

  • NatsuFoxSkill

    export

    Export knowledge base content to PDF, Markdown, or HTML files saved under _data/exports/. Use when a user wants to save or share KB content as downloadable files. Supports exporting a single document file, a single feed entry, a single note, or the entire knowledge base.

    Also in 4 projects that use this

  • LambenthanSkill

    edit

    根据用户要求增删 raw sources 或更新 wiki 内容

    Also in 3 projects that use this

  • BugRogerSkill

    project

    Project lifecycle management. Dispatches to Ada.

    Also in 4 projects that use this

  • suxrobGMSkill

    render

    Generate raster images (PNG, JPEG, WebP) from natural language prompts using Python rendering engines. Covers graphics, charts, layouts, and procedural art. Not for SVG output.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 45 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    No readable path → bash bin/ingest.sh select.

    line 25
  2. Distinctive:

    Keep selected/unverified bytes in gitignored local staging/quarantine.

    line 36
  3. Distinctive:

    When no path was provided:

    line 47
  4. Very specific:

    If cancelled, stop. If it returns a Google or Notion connector, continue in that connector skill.

    line 53
  5. Very specific:

    Use {source-path} for the user-selected file or folder, {source-id} for the user's stable source id, {name} and {kind} for the reviewed …

    line 80
  6. Very specific:

    Use {known-phrase} for a phrase observed in the admitted source and {source-id} for the stable source id supplied during intake:

    line 103

“Common” is measured: kept by at least 6 in 10 of the 45 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

Ingest

Route external material into an authorized intake plane, then promote selected evidence into curated organizational memory. Do not collapse intake and promotion.

When to invoke

Route and run organizational ingestion through Egregore Runtime for files, folders, meetings, Google Workspace, Notion, interviews, or bulk corpora. Use for 'ingest', 'bring this into Egregore', 'index this folder', or 'import our docs'.

Route

  • One URL/document/reference → use the add skill and bin/ingest-item.sh.
  • meeting ... → use the meeting skill.
  • user-interview ... → use the ingest-user-interview skill.
  • google ... → use the ingest-google skill.
  • notion ... → use the ingest-notion skill.
  • A large question-answering corpus or “build a knowledge base” → use the ingest-corpus skill and keep its Connected capability gate.
  • No readable path → bash bin/ingest.sh select.
  • File/folder/export/bulk path → use the corpus pipeline below.
  • Ambiguous → ask which source class applies; do not guess a connector.

Preserve connector authorization/revocation in connector-specific Runtime adapters. This skill must not write connector lifecycle files or project state.

Invariants

  • Resolve organization only from the active Egregore instance, never content or arguments.
  • Keep selected/unverified bytes in gitignored local staging/quarantine.
  • Canonical shared state contains admitted Markdown or reference manifests with stable ids, revisions, provenance, boundaries, errors, and tombstones.
  • Register canonical state successfully before any derived retrieval refresh.
  • Hard boundaries are authorization filters, never descriptive tags. Missing required boundary evidence fails closed.
  • Graph projection is optional and cannot complete, block, or override intake.
  • Telemetry contains structured counts/status only, never source content.

Local selection

When no path was provided:

bash bin/ingest.sh select

If cancelled, stop. If it returns a Google or Notion connector, continue in that connector skill. Otherwise always submit the reviewed selection, using {selection-path} for the selection path printed by the select command:

bash bin/ingest.sh add-selection '{selection-path}'

The selection adapter verifies staging containment, relative paths, byte counts, and hashes before extraction. Register harness-native extraction for a selected PDF only when the reader actually produced normalized text; {selection-path} is the select command's returned path, {relative-pdf-path} is the selected PDF's path relative to the selection root, {extractor} identifies the reader that produced the text, and {normalized-file} is the normalized text file written under tmp/:

bash bin/ingest.sh register-extraction '{selection-path}' \
  '{relative-pdf-path}' --extractor '{extractor}' < '{normalized-file}'

Report unreadable/scanned pages; never imply complete extraction.

Corpus intake

Infer only safe metadata. Ask for a stable source id, sensitivity/visibility, hard boundaries, and whether the directory is an authoritative snapshot.

Use {source-path} for the user-selected file or folder, {source-id} for the user's stable source id, {name} and {kind} for the reviewed source name and content kind, and {boundary} for a user-confirmed key=value boundary:

bash bin/ingest.sh add '{source-path}' \
  --source '{source-id}' \
  --name '{name}' \
  --kind '{kind}' \
  --boundary '{boundary}'

Repeat boundaries. Use --prune only for an explicitly authoritative full snapshot. The adapter owns deterministic extraction, stable document/chunk identity, local quarantine, canonical manifest registration, retrieval refresh, and background embedding. Skills do not invoke those mechanics separately.

Verify

bash bin/ingest.sh status

Use {known-phrase} for a phrase observed in the admitted source and {source-id} for the stable source id supplied during intake:

bash bin/ingest.sh search '{known-phrase}' --source '{source-id}' -n 5

Include every required hard boundary in verification searches. Open exact evidence before making consequential claims. Report indexed/skipped/failed counts and gaps honestly.

Promote

Intake is not curated knowledge. Retrieve candidate evidence, open its exact source, then use the appropriate Runtime ritual for a decision, finding, research synthesis, meeting, or domain claim. Preserve source id, document id, revision/content hash, exact chunk ids, boundaries, reviewer, confidence, and conflicts. No evidence chunk means no promoted claim.

Completion

Report source id, documents/chunks admitted, extraction failures, boundaries, canonical manifest/writeback status, semantic-build state, and next review or promotion step. Do not run a second save, index, telemetry, or projection step.

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.