retrieve
Skill6 starsChanged 14 days agoApache-2.0View on GitHub
Fetch known facts or data from specified sources with citations and evidence pointers. Use when you know what you need and where to find it. Emphasizes provenance and verifiable references.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- khanhmoiii/claude-tutor-skillstheir own version, first seen Oct 25, 2026
- opendatadiscovery/odd-teamtheir own version, first seen Sep 3, 2026
- Agents4Academia-AI/UReKAtheir own version, first seen Jul 1, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Agents4Academia-AI/UReKA★ 9same name
- khanhmoiii/claude-tutor-skills★ 1same name
- opendatadiscovery/odd-team★ 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 repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- attributeSkill
- auditSkill
- gap-analysis-workflowSkill
- checkpointSkill
- classifySkill
- compareSkill
- constrainSkill
- critiqueSkill
- debug-workflowSkill
- decomposeSkill
- delegateSkill
- detectSkill
- digital-twin-bootstrapSkill
- digital-twin-sync-workflowSkill
- discover-capabilitiesSkill
- discoverSkill
- executeSkill
- explainSkill
- generateSkill
- groundSkill
- inquireSkill
- integrateSkill
- invokeSkill
- measureSkill
- mutateSkill
- observeSkill
- persistSkill
- perspective-validationSkill
- planSkill
- predictSkill
- recallSkill
- receiveSkill
- rollbackSkill
- searchSkill
- sendSkill
- simulateSkill
- stateSkill
- synchronizeSkill
- transformSkill
- transitionSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
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
- Distinctive: line 50
Verify network access if remote
- Distinctive: line 59
Validate retrieved data: Check completeness and integrity
- Distinctive: line 60
Verify format matches expected
- Distinctive: line 61
Check for truncation or corruption
- Very specific: line 65
Extract relevant portions: If a filter is specified
- Distinctive: line 81
Handle failures: If retrieval fails
- Distinctive: line 180
Evidence pattern: Read file directly, computed hash, tracked git version.
- Distinctive: line 312
Do not retrieve from paths marked as sensitive
- Distinctive: line 315
Never fabricate retrieved content
- Distinctive: line 330
Avoid retrieving without tracking provenance
- Very specific: line 331
Never assume retrieval succeeded without checking complete
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Intent
Execute retrieve to fetch specific, known information from specified sources. Unlike search (which explores under uncertainty), retrieve fetches identified items with full provenance tracking.
Success criteria:
- Requested data is fetched completely
- Source and timestamp are recorded
- Data integrity is verified where possible
- Citations enable re-retrieval
- Missing data is explicitly flagged
World Modeling Context:
Retrieve feeds into all world modeling layers by providing grounded observations for world-state, timestamps for temporal-reasoning, and evidence for grounding.
Compatible schemas:
schemas/output_schema.yaml
Inputs
| Parameter | Required | Type | Description |
target | Yes | string | What to retrieve (path, URL, query, or identifier) |
format | No | string | Expected format (json, text, binary); default: auto-detect |
filter | No | object | Criteria the retrieved data must meet (e.g. time_range) |
references | No | array | Further references to retrieve along with target (e.g. search results) |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
Procedure
- Identify target: Determine exactly what to fetch
- File path: Exact file location
- URL: Web resource address
- API endpoint: Service + parameters
- Record: Database/system identifier
- Verify source accessibility: Confirm retrieval is possible
- Check permissions
- Verify network access if remote
- Confirm source exists
- Execute retrieval: Fetch the data
- For files: Read with line numbers preserved
- For URLs: Fetch with timeout and retry
- For APIs: Call with appropriate auth
- Record exact timestamp of retrieval
- Validate retrieved data: Check completeness and integrity
- Verify format matches expected
- Check for truncation or corruption
- Validate against schema if available
- Compute hash for integrity tracking
- Extract relevant portions: If a
filteris specified- Apply filters to reduce data
- Project specific fields
- Slice by line numbers or sections
- Construct citation: Build verifiable reference
- Full path/URL
- Timestamp of retrieval
- Version/revision if available
- Hash for integrity verification
- Document provenance: Record retrieval metadata
- Source authority
- Freshness (how current)
- Reliability (historical accuracy)
- Handle failures: If retrieval fails
- Record failure reason
- Suggest alternatives if available
- Note partial success if applicable
Output Contract
Return a structured object:
data: object | string | array # The retrieved content
retrieved: # What was fetched, from where, and when
target: string # What was requested
source: string # Where it came from
timestamp: string # ISO 8601 retrieval time
format: string # Data format (json, text, etc.)
complete: boolean # Was full content retrieved?
citation:
reference: string # Full citation for re-retrieval
version: string | null # Version/revision if applicable
hash: string | null # Content hash for integrity
authority: low | medium | high
provenance:
source_type: string # file, api, database, web
last_modified: string | null # When source was last changed
freshness: fresh | stale | unknown # How current is this data
reliability: string # Assessment of source reliability
extraction:
applied_filters: object | null
original_size: integer | null
returned_size: integer | null
truncated: boolean
confidence: number # 0.0-1.0
evidence_anchors: array[string]
assumptions: array[string]Field Definitions
| Field | Type | Description |
data | any | The fetched content |
retrieved | object | Request target, source, retrieval timestamp, format, and whether the content is complete |
citation | object | Verifiable reference to re-fetch |
provenance | object | Source reliability and freshness |
extraction | object | Filtering/processing applied |
confidence | number | 0.0-1.0 confidence the data is accurate and complete |
evidence_anchors | array | References to the exact source locations |
assumptions | array | Explicit assumptions |
Examples
Example 1: Retrieve Configuration File
Input:
target: "config/database.yml"Output:
data:
development:
adapter: postgresql
host: localhost
database: myapp_dev
production:
adapter: postgresql
host: "${DATABASE_HOST}"
database: myapp_prod
pool: 25
retrieved:
target: "config/database.yml"
source: "file:config/database.yml"
timestamp: "2025-01-24T15:30:00Z"
format: yaml
complete: true
citation:
reference: "config/database.yml:1-15"
version: "git:abc123"
hash: "sha256:def456..."
authority: high
provenance:
source_type: file
last_modified: "2025-01-20T10:00:00Z"
freshness: fresh
reliability: "Version controlled, reviewed configuration"
extraction:
applied_filters: null
original_size: 450
returned_size: 450
truncated: false
confidence: 1.0
evidence_anchors:
- "config/database.yml:1-15"
assumptions:
- "File contents reflect deployed configuration"Evidence pattern: Read file directly, computed hash, tracked git version.
Example 2: Retrieve API Documentation
Input:
target: "https://api.example.com/docs/v2/endpoints"
format: jsonOutput:
data:
version: "2.0.0"
endpoints:
- path: "/users"
methods: ["GET", "POST"]
auth_required: true
- path: "/users/{id}"
methods: ["GET", "PUT", "DELETE"]
auth_required: true
retrieved:
target: "https://api.example.com/docs/v2/endpoints"
source: "web:api.example.com"
timestamp: "2025-01-24T15:35:00Z"
format: json
complete: true
citation:
reference: "https://api.example.com/docs/v2/endpoints"
version: "v2.0.0"
hash: "sha256:789abc..."
authority: high
provenance:
source_type: web
last_modified: "2025-01-15T00:00:00Z"
freshness: fresh
reliability: "Official API documentation"
extraction:
applied_filters: null
original_size: 2500
returned_size: 2500
truncated: false
confidence: 0.95
evidence_anchors:
- "url:https://api.example.com/docs/v2/endpoints"
assumptions:
- "API documentation reflects actual API behavior"Example 3: Retrieve with Filtering
Input:
target: "src/models/user.ts"
filter:
lines: "1-50"
sections: ["interface", "class"]Output:
data: |
interface UserAttributes {
id: string;
email: string;
name: string;
createdAt: Date;
}
class User implements UserAttributes {
id: string;
email: string;
name: string;
createdAt: Date;
constructor(attrs: UserAttributes) {
Object.assign(this, attrs);
}
}
retrieved:
target: "src/models/user.ts"
source: "file:src/models/user.ts"
timestamp: "2025-01-24T15:40:00Z"
format: text
complete: false
citation:
reference: "src/models/user.ts:1-50"
version: "git:abc123"
hash: null
authority: high
provenance:
source_type: file
last_modified: "2025-01-22T09:00:00Z"
freshness: fresh
reliability: "Source code"
extraction:
applied_filters:
lines: "1-50"
sections: ["interface", "class"]
original_size: 5000
returned_size: 500
truncated: true
confidence: 0.95
evidence_anchors:
- "src/models/user.ts:1-20"
- "src/models/user.ts:22-35"
assumptions:
- "Extracted sections are complete within specified lines"Verification
- Retrieved data matches expected format
- Citation enables exact re-retrieval
- Hash validates data integrity (when available)
- Truncation is explicitly flagged
- Timestamp is accurate
Verification tools: Hash verification, re-retrieval test
Safety Constraints
mutation: falserequires_checkpoint: falserequires_approval: falserisk: low
Capability-specific rules:
- Do not retrieve from paths marked as sensitive
- Respect rate limits on remote sources
- Flag stale data (>24h old for volatile sources)
- Never fabricate retrieved content
Composition Patterns
Commonly follows:
search- After finding, retrieve full contentinspect- Retrieve specific files discovered during inspection
Commonly precedes:
world-state- Retrieved data becomes observationsgrounding- Retrieved content provides evidenceprovenance- Retrieval is a step in provenance chainintegrate- Retrieved data feeds integration
Anti-patterns:
- Avoid retrieving without tracking provenance
- Never assume retrieval succeeded without checking
complete
Workflow references:
- See
reference/composition_patterns.md#world-model-buildfor retrieval in model construction - See
reference/composition_patterns.md#digital-twin-sync-loopfor ongoing data retrieval
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.

