Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ayeshakhalid192007-dev/graph-engineering-crash-course --skill extract-factsgit clone --depth 1 https://github.com/ayeshakhalid192007-dev/graph-engineering-crash-courseWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/extract-facts)<a href="https://agentmods.dev/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/extract-facts"><img src="https://agentmods.dev/badge/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/extract-facts/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/extract-facts"><img src="https://agentmods.dev/badge/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/extract-facts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.01045 |
| Opus 5 | $0.00014 | $0.00522 |
| Sonnet 5 | $0.00006 | $0.00209 |
| Haiku 4.5 | $0.00003 | $0.00104 |
Grade A, and why
extract-facts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
extract-facts
Turns an incident-report document into typed entity and relationship JSON
matching schema.example.json, instead of a prose summary. Nothing goes
into the output unless its entity type and relationship type both appear
in the schema.
Instructions
You are a Claude Code skill implementing the document-to-facts pattern.
Do not summarize the document. Do not invent an entity or relationship
type just because the source text mentions something that isn't on the
list. Follow these steps in order:
- Read the schema first, before reading the document. Open
schema.example.jsonin this kit and write down its two lists side by side: the three entity types it names (Service,Incident,Cause) and the two relationships, each with its required direction (acaused-byedge always runs from anIncidentto aCause; anaffectededge always runs from anIncidentto aService). Note the required properties listed for each type. Treat this list as frozen for the whole run — nothing gets added to it mid-extraction. - Read the source document. Default to
sample-input.mdin this kit unless the user points you at a different file. - Draft candidate facts. For every statement in the document that
looks like an entity or a relationship, write down a candidate in the
form
{entity_type, entity_properties}or{relationship_type, from, to}. Be generous at this stage — over-collect rather than under-collect. - Filter every candidate against the schema from step 1. Keep a
candidate only if:
- for an entity: its
entity_typeis one ofService,Incident,Cause, and its properties are a subset of that type's allowed properties; - for a relationship: its
relationship_typeis one ofcaused-byoraffected, and the types of itsfromandtoentities match what the schema declares for that relationship. Drop everything else. Do not rename a candidate's type to make it fit (e.g. do not relabel aPersonas aService) — a mismatched candidate is dropped, not reshaped.
- for an entity: its
- Record every dropped candidate with the reason it failed (unknown
entity type, unknown relationship type, or a
from/totype mismatch). The on-call engineer's name and the Slack channel mentioned insample-input.mdare expected to be dropped here — that's the schema working as intended, not a bug to fix. - Emit the surviving facts as JSON shaped like
schema.example.json'sentitiesandrelationshipsarrays, with each relationship tagged with asource_documentproperty naming the file you read in step 2. Write the result tooutput.jsonin the kit's root (or the path the user requested) and also print it. - Print the drop list from step 5 alongside the JSON so a human can see what was excluded and why, without having to re-run the extraction to find out.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 99 lines · 28 tokens per session scan A 29ed5cb225d4
extract-facts is a skill published in the GitHub repository ayeshakhalid192007-dev/graph-engineering-crash-course (5 stars, last pushed 13d ago), licensed MIT. It adds 28 tokens to every session and 1,045 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
presentations
Use when building, theming, or exporting a presentation deck — pitch, sales, keynote, board/QBR, leave-behind one-pager — from slide structure to a token-based theme to PDF or editable PPTX (Marp, Slidev, python-pptx). NOT the words (that is marketing), NOT the visual tokens (that is design), NOT the investor story…
investor-materials
Use when packaging or circulating the documents an investor reads outside the meeting — setting up or cleaning a data room, writing the one-pager or teaser that earns the first meeting, or drafting the recurring monthly investor update. NOT the slide narrative (that is pitch-deck), NOT the projection spreadsheet (that…
reporting
Use when a recurring report must ship itself on a cadence — weekly digest, monthly exec pack, board pack — via a fetch→narrate→render→deliver pipeline with a schedule and a freshness gate. NOT a live view people slice (that is dashboard), NOT picking which KPIs to track (that is kpi-framework), NOT a one-off…
document-processing
Use when the deliverable is a document's bytes or its literal content — text/tables out of PDFs, AcroForm fill and flatten, page merge/split, PDF/DOCX from templates, OCR of image-only scans. NOT schema-typed fields pulled from text (that is structured-extraction), NOT signature routing (e-signature) or spreadsheet…
managing-artifacts
Artifact storage paths and project-encoded conventions for generated documents, reports, plans, and audits. Loaded by the core rule module. Triggers: 'where should I put this', 'save report', 'output directory'.
opencode-export
Export opencode sessions to self-contained HTML + JSON archives for sharing, review, or backup. Use when the user wants to save, archive, or share their AI coding session history.