investigation
Skill9 starsChanged 2 months agoMITView on GitHub
Use when investigating a specific entity (person, organization, event) across Pyrite knowledge bases. Enforces source chain tracking, relationship mapping, and confidence-rated findings. Every claim must link to a source.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- thensls/nsls-builder-toolkittheir own version, first seen Sep 21, 2026
- syanga/astacktheir own version, first seen Sep 20, 2026
- qduc/skillstheir own version, first seen Sep 19, 2026
- metraton/gaiatheir own version, first seen Jul 2, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- metraton/gaia★ 4same name
- qduc/skills★ 0same name
- syanga/astack★ 0same name
- thensls/nsls-builder-toolkit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- extension-builderSkill
- fact-checkerSkill
- kb-lifecycleSkill
- kbSkill
- network-mapperSkill
- pyrite-conductorSkill
- pyrite-devSkill
- pyrite-meta-conductorSkill
- research-executorSkill
- research-flowSkill
- software-kbSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
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
- Very specific: line 14
The non-negotiable rule: Every factual claim in the output must link to a source entry via [[wikilink]].
- Distinctive: line 31
Check if the entity already has an entry:
- Very specific: line 38
If an entry exists, read it fully: pyrite get <entry-id>
- Distinctive: line 40
Create a task list with TaskCreate to track investigation progress.
- Distinctive: line 73
Read the full entry
- Distinctive: line 106
Document how this entity connects to others.
- Distinctive: line 142
Every claim needs a traceable path back to evidence.
- Distinctive: line 166
If you can't find a source, say "no source found" — don't omit the claim silently
- Distinctive: line 172
Create the entity profile entry using the template from entity-profile-template.md.
“Common” is measured: kept by at least 6 in 10 of the 4 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.
Files
Investigation Skill
Entity-focused investigation methodology for Pyrite knowledge bases. Produces a sourced entity profile with mapped relationships and confidence-rated findings.
Announce at start: "I'm using the investigation skill."
Methodology: Identify → Collect → Map → Track → Assess
The non-negotiable rule: Every factual claim in the output must link to a source entry via [[wikilink]]. No exceptions. If there's no source entry, create one first.
Phase 1: Identify Target
Define exactly what entity you're investigating.
TARGET DEFINITION:
- Entity name:
- Entity type: person / organization / event / topic
- What specifically do we want to know?
- What KBs are likely relevant?
- Known aliases or alternate names:Check if the entity already has an entry:
pyrite search "<entity name>" --limit 20
pyrite search "<entity name>" --mode=semantic --limit 10If an entry exists, read it fully: pyrite get <entry-id>
Create a task list with TaskCreate to track investigation progress.
Phase 2: Collect Mentions
Systematically find every reference to this entity across all KBs.
# Direct name search
pyrite search "<entity name>" --limit 50
# Search aliases and alternate spellings
pyrite search "<alias>" --limit 20
# Search by role/title if a person
pyrite search "<role or title>" --type=person --limit 20
# Search related organizations
pyrite search "<org name>" --limit 20
# Timeline search for events involving this entity
pyrite timeline --from=<start> --to=<end>
# Backlinks from known entries
pyrite backlinks <entity-entry-id> --kb=<name>
# Tag-based discovery
pyrite search "<entity>" --tag=<relevant-tag>For each mention found:
- Read the full entry
- Extract: what does this entry claim about the entity?
- Note the source tier (see entity-profile-template.md)
- Record the entry ID for the source chain
If the entity has no entry yet, create one:
# Person
pyrite create --kb=<name> --type=person --title="<Full Name>" \
--body="<initial summary>" --tags="<relevant-tags>" \
--field role="<primary role>"
# Organization
pyrite create --kb=<name> --type=organization --title="<Org Name>" \
--body="<initial summary>" --tags="<relevant-tags>"Collection completeness check:
- [ ] Searched all relevant KBs
- [ ] Searched name + known aliases
- [ ] Searched related entities (employers, associates, counterparts)
- [ ] Checked backlinks from entity's own entry
- [ ] Checked timeline for temporal context
- [ ] Created entries for important sources not yet in the KBPhase 3: Map Relationships
Document how this entity connects to others.
For each relationship discovered:
| From | Relationship | To | Source | Confidence |
[[entity]] | employs / funds / opposes / etc. | [[other-entity]] | [[source]] | High/Med/Low |
# Find connections through shared tags
pyrite tags --kb=<name>
# Find connections through shared events
pyrite search "<entity>" --type=event
# Trace through backlinks
pyrite backlinks <entity-id> --kb=<name>
pyrite backlinks <related-entity-id> --kb=<name>See relationship-mapping.md for relationship type vocabulary and mapping techniques.
Mapping checklist:
- [ ] Direct relationships documented (employer, colleague, opponent, etc.)
- [ ] Indirect relationships noted (shared events, shared organizations)
- [ ] Temporal relationships mapped (preceded by, succeeded by, concurrent with)
- [ ] Each relationship has a source entry
- [ ] Relationship strength/confidence notedPhase 4: Track Source Chain
Every claim needs a traceable path back to evidence. This is what separates investigation from speculation.
Source chain format:
Claim: "<factual statement>"
Source: [[entry-id]] (Tier 1/2/3/4)
Corroboration: [[other-entry-id]] or "none"Tier definitions:
| Tier | Type | Example |
| 1 | Primary / direct evidence | Official documents, court filings, public records |
| 2 | Established reporting | Bylined journalism, government reports, academic papers |
| 3 | Secondary analysis | Commentary, think tank reports, expert blog posts |
| 4 | Unverified | Anonymous sources, social media, unattributed claims |
Source chain rules:
- A claim with only Tier 4 sources must be flagged as "unverified"
- A claim with contradicting sources must note the contradiction
- "Common knowledge" is not a source — find the entry or create one
- If you can't find a source, say "no source found" — don't omit the claim silently
Phase 5: Assess and Produce Profile
Create the entity profile entry using the template from entity-profile-template.md.
pyrite update <entity-id> --kb=<name> --body="<updated profile>"Or if creating a new investigation summary:
pyrite create --kb=<name> --type=note --title="Investigation: <entity>" \
--body="<profile content>" --tags="investigation,<entity-tags>"Assessment checklist:
- [ ] Every factual claim links to a source via [[wikilink]]
- [ ] Confidence level assigned to each major finding
- [ ] Contradictions between sources explicitly noted
- [ ] Gaps in knowledge explicitly stated
- [ ] Relationships mapped with sources
- [ ] Timeline of key events constructed
- [ ] Unverified claims flagged clearlyAnti-Patterns
| Trap | Fix |
| Writing claims without source links | Every claim gets a [[source]]. No exceptions. |
| Treating all mentions as equal weight | Apply tier system. A Tier 4 mention ≠ a Tier 1 document. |
| Ignoring absence of evidence | "No entries found about X's role in Y" is a finding. Document gaps. |
| Circular investigation | If Entry A cites Entry B which cites Entry A, you have one source, not two. |
| Scope creep | Stay focused on the target entity. Note related entities for follow-up, don't investigate them now. |
| Unsourced relationship claims | "X is connected to Y" needs a source entry showing the connection. |
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
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.

