research-executor
Skill9 starsChanged 2 months agoMITView on GitHub
Use when conducting web research for an investigation topic. Searches the web, creates well-sourced KB entries with proper source chain tracking, and enforces the source tier system. Every entry created must link to a source.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- liangdabiao/claudesdk-stock-chattheir own version, first seen May 24, 2026
- liangdabiao/Claude-Code-Deep-Research-maintheir own version, first seen Dec 25, 2025
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- liangdabiao/Claude-Code-Deep-Research-main★ 289same name
- liangdabiao/claudesdk-stock-chat★ 8same 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
- investigationSkill
- kb-lifecycleSkill
- kbSkill
- network-mapperSkill
- pyrite-conductorSkill
- pyrite-devSkill
- pyrite-meta-conductorSkill
- research-flowSkill
- software-kbSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
The non-negotiable rule: NEVER create an entry without a corresponding source document entry.
- Distinctive: line 20
Before touching the web, understand what you're looking for and what already exists.
- Distinctive: line 52
Use TaskCreate to track research progress — one task per specific question or sub-topic.
- Distinctive: line 58
Search the web systematically.
- Distinctive: line 68
Use WebSearch for queries and WebFetch to read full pages when a search result looks relevant.
- Distinctive: line 83
Every usable source becomes an entry BEFORE you create any entities or claims from it.
- Distinctive: line 250
After creating entries, verify the work.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Research Executor Skill
Web research executor for Pyrite investigation knowledge bases. Searches the web for information on a topic, logs sources, creates entities/events/claims, and enforces source chain integrity throughout.
Announce at start: "I'm using the research-executor skill."
Methodology: Scope → Search & Collect → Create Entries → Quality Check
The non-negotiable rule: NEVER create an entry without a corresponding source document entry. The source entry comes first, always.
Phase 1: Define Research Scope
Before touching the web, understand what you're looking for and what already exists.
SCOPE DEFINITION:
- Research question (single sentence):
- Target KB:
- Specific questions to answer:
1.
2.
3.
- Entity types expected (people, organizations, assets, events):
- Date range if applicable:
- What does "done" look like?Check existing coverage
# What does the KB already know?
pyrite search "<topic>" -k <kb> --mode hybrid
pyrite investigation entities
pyrite investigation status
# Check for related entries
pyrite search "<related term>" -k <kb> --mode semantic --limit 20
# Review what sources already exist
pyrite search "<topic>" -k <kb> --type document_sourceCreate a task list
Use TaskCreate to track research progress — one task per specific question or sub-topic. Update tasks as you work through them.
Phase 2: Search and Collect
Search the web systematically. Vary your queries — don't stop at the first result page.
Search strategy
- Start broad — search the main topic to orient
- Go specific — search each sub-question individually
- Search names — look up specific people, organizations, or entities mentioned in results
- Search for primary sources — court filings, corporate registries, SEC filings, official records
- Search for counter-narratives — what do critics or opponents say?
Use WebSearch for queries and WebFetch to read full pages when a search result looks relevant.
For each source found
Step 1: Assess reliability
| Tier | Type | Examples |
| 1 (high) | Primary / direct evidence | Court filings, official records, SEC filings, public registries, corporate filings, leaked documents with verified provenance |
| 2 (medium) | Established reporting | Bylined investigative journalism, government reports, academic papers, named-source reporting |
| 3 (low) | Secondary analysis | Commentary, think tank reports, expert blog posts, op-eds |
| 4 (unknown) | Unverified | Social media, unattributed claims, anonymous tips, forums |
Step 2: Log as a source document
Every usable source becomes an entry BEFORE you create any entities or claims from it.
pyrite create -k <kb> -t document_source --title "<source title>" \
-f reliability=<high|medium|low|unknown> \
-f classification=public \
-f url="<source url>" \
-f obtained_date="<YYYY-MM-DD>" \
-f author="<author if known>" \
-f publication_date="<YYYY-MM-DD if known>" \
-b "Key findings from this source:
- Finding 1
- Finding 2
- Finding 3"Or use the MCP tool:
investigation_log_source(
title="<source title>",
url="<url>",
reliability="high|medium|low|unknown",
classification="public",
body="Key findings: ..."
)Step 3: Extract structured information
From each source, note:
- People mentioned (names, roles, titles)
- Organizations mentioned (names, types, jurisdictions)
- Events (what happened, when, where, who was involved)
- Relationships (who is connected to whom, how)
- Claims or allegations (who said what about whom)
- Financial figures (amounts, currencies, dates)
- Dates and timelines
Collection completeness check
- [ ] Searched the main topic broadly
- [ ] Searched each specific sub-question
- [ ] Searched for key people/organizations by name
- [ ] Looked for primary sources (filings, records, registries)
- [ ] Checked for counter-narratives or contradicting information
- [ ] Every usable source logged as a document_source entry
- [ ] Each source has reliability tier, URL, and obtained_datePhase 3: Create Entries
Now create entries from your collected sources. The source document entries must already exist before this phase.
Before creating anything: check for duplicates
# Always search before creating
pyrite search "<entity name>" -k <kb> --mode hybrid
pyrite investigation dedup
# Check alternate spellings, abbreviations, maiden names
pyrite search "<alternate name>" -k <kb>Entities (people, organizations, assets)
# Person
pyrite create -k <kb> -t person --title "<Full Name>" \
-f importance=<1-10> \
-f role="<primary role>" \
-f nationality="<if known>" \
-b "## Summary
<one paragraph summary>
## Source references
- [[<source-entry-id>]] — <what this source tells us>
" --tags "<relevant,tags>"
# Organization
pyrite create -k <kb> -t organization --title "<Organization Name>" \
-f importance=<1-10> \
-f org_type="<company|government|ngo|...>" \
-f jurisdiction="<if known>" \
-b "## Summary
<one paragraph summary>
## Source references
- [[<source-entry-id>]] — <what this source tells us>
" --tags "<relevant,tags>"Or use MCP tools: investigation_create_entity(...)
Events
pyrite create -k <kb> -t investigation_event --title "<Event Title>" \
-f event_date="<YYYY-MM-DD>" \
-f actors="<comma-separated entry IDs or names>" \
-b "## What happened
<description>
## Source references
- [[<source-entry-id>]] — <what this source tells us>
" --tags "<relevant,tags>"Or use: investigation_create_event(...)
Claims and allegations
Claims are assertions that need verification. They are NOT confirmed facts.
pyrite create -k <kb> -t claim --title "<Concise claim statement>" \
-f claim_status=unverified \
-f claimed_by="<who made the claim>" \
-f claim_date="<when the claim was made>" \
-b "## Claim
<full statement of the claim>
## Available evidence
- [[<source-entry-id>]] — <what this source says>
## Counter-evidence
<any contradicting information, or 'None found'>
" --tags "<relevant,tags>"Or use: investigation_create_claim(...)
Claims always start as unverified. The fact-checker skill handles verification separately.
Connections and relationships
Both endpoints must exist as entries before creating a connection.
pyrite create -k <kb> -t connection --title "<Entity A> — <relationship> — <Entity B>" \
-f from_entity="<entry-id-A>" \
-f to_entity="<entry-id-B>" \
-f relationship_type="<ownership|membership|funding|employment|...>" \
-b "## Relationship
<description of the connection>
## Source references
- [[<source-entry-id>]] — <evidence for this relationship>
" --tags "<relevant,tags>"Entry creation rules
- Source first — the document_source entry must exist before any entry that references it
- Check duplicates — search before creating; merge information into existing entries when possible
- Facts vs. claims — if you can point to Tier 1/2 evidence, it's a fact; if it's an allegation or assertion, create it as a claim with
claim_status: unverified - Both endpoints first — connection entries require both entities to exist already
- Date everything — include dates wherever possible (event dates, claim dates, source publication dates)
Phase 4: Quality Check
After creating entries, verify the work.
# Run the QA report
pyrite investigation qa
# Check for duplicates
pyrite investigation dedup
# Verify source coverage
pyrite investigation statusQuality checklist
- [ ] Every entry links to at least one source document via [[wikilink]]
- [ ] No orphaned entries (entities without relationships or context)
- [ ] No duplicate entities (checked with dedup)
- [ ] All claims are marked as unverified
- [ ] Dates are present where applicable
- [ ] Source tiers are consistent (a blog post is not Tier 1)
- [ ] Obtained dates recorded on all sources
- [ ] Gaps in knowledge explicitly notedKey MCP Tools
| Tool | Tier | Purpose |
investigation_search_all | Read | Cross-KB search |
investigation_entities | Read | List existing entities |
investigation_status | Read | Investigation overview |
investigation_qa_report | Read | Quality check |
investigation_create_entity | Write | Create person/org/asset entries |
investigation_create_event | Write | Create event entries |
investigation_create_claim | Write | Create claim entries |
investigation_log_source | Write | Log source documents |
Key CLI Commands
pyrite search "<topic>" -k <kb> # Keyword search
pyrite search "<topic>" -k <kb> --mode semantic # Semantic search
pyrite search "<topic>" -k <kb> --mode hybrid # Combined search
pyrite investigation search --correlate # Cross-reference search
pyrite investigation status # Overview
pyrite investigation qa # Quality report
pyrite investigation dedup # Duplicate detection
pyrite create -k <kb> -t <type> ... # Create entries
pyrite get <entry-id> -k <kb> # Read full entry
pyrite backlinks <entry-id> -k <kb> # Find what links to an entryAnti-Patterns
| Trap | Fix |
| Creating entries without source documents | Log the source FIRST, then create entries that reference it. |
| Not checking for duplicates before creating | Always search by name and aliases before pyrite create. |
| Mixing facts and claims | Facts have Tier 1/2 evidence. Everything else is a claim with unverified status. |
| Using one source for many unrelated claims | Each claim should be independently traceable. If one source covers multiple topics, that's fine — but note it. |
| Not recording obtained_date on sources | Always set obtained_date to today's date when you access a web source. |
| Over-relying on a single source tier | Seek corroboration across tiers. A finding backed only by Tier 3/4 sources is Low confidence. |
| Creating connections before both endpoints exist | Create both entity entries first, then the connection. |
| Treating web search results as sources | The search result snippet is not the source. Fetch and read the actual page. Use WebFetch. |
| Skipping the scope phase | Without clear questions, research sprawls. Define scope first. |
Output Format
At the end of a research session, produce this summary:
## Research Session: <topic>
KB: <kb-name>
Date: <date>
### Sources logged: N
- [[source-1]] — <title> (Tier 1, public)
- [[source-2]] — <title> (Tier 2, journalism)
### Entities created: N
- [[entity-1]] — <name> (person, importance: 8)
- [[entity-2]] — <name> (organization, importance: 7)
### Events recorded: N
- [[event-1]] — <title> (2024-01-15)
### Claims filed: N (all unverified)
- [[claim-1]] — <assertion>
### Gaps identified:
- No information found about X's role in Y
- Source needed for claim about Z
- Counter-narrative not yet investigated for WDoes 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.

