agentleFS
guhcostanguhcostan/claude-mega-brain/skills/ingest/SKILL.md

ingest

Skill128 starsChanged 5 days agoMITView on GitHub

Create or update a single OKF concept file from raw input. Use when the user wants to document a specific table, metric, API, service, or concept in the knowledge base — even if they say "add this to the okf", "documenta essa tabela", "cria um conceito pra isso", "adiciona no knowledge base", "register this API", or pastes a schema/description and says to save it. If no OKF files exist yet, suggest /mega-brain:init first.

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 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.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • rafeeqineaSkill

    poster

    Create academic conference posters using LaTeX beamerposter or tikzposter templates. Trigger phrases: /poster, "make a poster", "conference poster", "research poster", "poster template"

    Also in 5 projects that use this

  • +6 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 80 edited versions we read keep these.

  • 3

    Distinctive

    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:

    Look for existing OKF files: any .md with type: frontmatter, or index.md / log.md in the project.

    line 12
  2. Very specific:

    If .mega-brain.json defines dir, save new concepts under that directory.

    line 14
  3. Distinctive:

    Check if a concept with the same name already exists.

    line 16
  4. Distinctive:

    Read the source material

    line 53
  5. Very specific:

    Write description: one sentence, plain language

    line 55
  6. Very specific:

    Add resource URL if there's a live resource (BQ console URL, API endpoint, dashboard)

    line 56
  7. Distinctive:

    Write the body with exact values — preserve field names, types, and formulas as-is.

    line 57
  8. Very specific:

    Add one line to index.md: - Title — description

    line 60
  9. Very specific:

    Keep description to one sentence — push additional detail into the body

    line 67

“Common” is measured: kept by at least 6 in 10 of the 80 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 — OKF Concept Writer

Turns raw input (schema dump, API doc, user description, table definition) into one OKF-formatted .md file committed to the knowledge base.

Before writing

Look for existing OKF files: any .md with type: frontmatter, or index.md / log.md in the project. If none exist, stop and tell the user to run /mega-brain:init first.

If .mega-brain.json defines dir, save new concepts under that directory. Otherwise, choose a sensible location (docs/, project root, etc.) consistent with existing OKF files.

Check if a concept with the same name already exists. If so, ask whether to update it or create a new one.

Output format

One .md file per concept. Only type is required:

---
type: <concept type>
title: <display name>
description: <one sentence, plain language, no jargon>
resource: <URL to the actual resource, if any>
tags: [<tag1>, <tag2>]
timestamp: <ISO 8601 date>
---

<body: exact schema, formula, join patterns, examples, caveats>

Common types

TypeUse for
BigQuery TableBQ tables with schema
BigQuery DatasetBQ datasets
TableNon-BQ database tables
MetricKPI or business metric with formula
APIREST/GraphQL endpoints
RunbookOperational procedures
ConceptBusiness or domain terminology
ServiceInternal microservices
PipelineETL or data pipelines

Types are freeform — add your own.

Process

  1. Read the source material
  2. Identify the concept type and canonical name
  3. Write description: one sentence, plain language
  4. Add resource URL if there's a live resource (BQ console URL, API endpoint, dashboard)
  5. Write the body with exact values — preserve field names, types, and formulas as-is; do not generalize
  6. Link to related concepts with [Name](relative-path.md) — this builds the knowledge graph
  7. Save next to related OKF files (e.g. docs/tables/<slug>.md or <config-dir>/tables/<slug>.md)
  8. Add one line to index.md: - [Title](path) — description
  9. Append to log.md: <date> — added <title>

Updating an existing entry

  • Update timestamp
  • Preserve existing wikilinks unless explicitly removing them
  • Keep description to one sentence — push additional detail into the body

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.