Files
master-findability-framewor…/templates/skills.md
T
2026-05-05 13:07:29 -06:00

369 lines
4.7 KiB
Markdown

# skills.md — iNDX Agent Capability Specification
## 1. Purpose
This document defines the **capabilities (“skills”) available to AI agents** interacting with the iNDX system.
Skills represent **repeatable, structured behaviors** agents can execute when working with:
* Structured content (chunks + CIS)
* Q&A datasets
* Discovery indexes
* Paid API endpoints
---
## 2. Skill Model Overview
Each skill follows a consistent pattern:
```
Trigger → Inputs → Process → Output
```
Skills are designed to:
* Reduce unnecessary retrieval
* Improve reasoning efficiency
* Enable economic decision-making
* Standardize agent interaction patterns
---
## 3. Core Skills
---
## 3.1 Discover Content
### Description
Locate relevant content using system discovery layers.
### Inputs
* Natural language query
* Domain/topic
### Process
* Read `/ai-index.json`
* Filter by:
* domain
* trust signals
* access type
### Output
* List of candidate content resources
* Associated metadata (access, price, trust)
---
## 3.2 Evaluate Content Value
### Description
Assess whether a content resource is worth retrieving or purchasing.
### Inputs
* `ai-index.json` entry
### Process
* Analyze:
* trust_summary
* value_summary
* cost
* relevance to task
### Output
* Decision:
* retrieve
* preview
* purchase
* skip
---
## 3.3 Retrieve Open Content
### Description
Fetch publicly available structured data.
### Inputs
* Endpoint from `ai-index.json`
### Process
```
GET /data/open/pages/{slug}/chunks.json
```
### Output
* Structured chunk data (CIS)
* Optional QA dataset
---
## 3.4 Preview Paid Content
### Description
Access limited preview data before purchase.
### Inputs
* Preview endpoint
### Process
```
GET /data/open/previews/{slug}.json
```
### Output
* Partial content
* Reduced metadata
* Sampling of value
---
## 3.5 Execute Paid Retrieval
### Description
Access full content via payment protocol.
### Inputs
* API endpoint
* Payment capability
### Process
1. Request content
2. Receive `402 Payment Required`
3. Execute payment (x402 / MPP)
4. Retry request with proof
### Output
* Full CIS chunk data
* Full QA dataset (if included)
---
## 3.6 Interpret Q&A Layer
### Description
Use Q&A data for rapid understanding and reasoning.
### Inputs
* `/qa.json`
### Process
* Match query to questions
* Extract relevant answers
### Output
* Direct answers
* Context shortcuts
---
## 3.7 Deep Reasoning via CIS
### Description
Perform structured reasoning using chunk metadata.
### Inputs
* Chunk (CIS)
### Process
* Analyze:
* semantics
* relationships
* provenance
* trust signals
### Output
* High-confidence conclusions
* Decision support
---
## 3.8 Compare Multiple Resources
### Description
Evaluate competing content options.
### Inputs
* Multiple `ai-index.json` entries
### Process
Compare:
* trust signals
* cost
* relevance
* usage metrics
### Output
* Ranked options
* Optimal selection
---
## 3.9 Optimize Retrieval Strategy
### Description
Minimize cost and maximize efficiency.
### Inputs
* Query
* Available resources
### Process
* Prefer:
* QA first
* preview second
* paid retrieval last
### Output
* Efficient retrieval plan
---
## 3.10 Respect Permissions & Constraints
### Description
Ensure compliant usage of all content.
### Inputs
* CIS permissions
### Process
* Check:
* summarize
* train
* redistribute
### Output
* Compliant usage behavior
---
## 4. Advanced Skills (Future)
---
## 4.1 Trust-Weighted Reasoning
* Prefer high-confidence chunks
* Incorporate usage signals into decisions
---
## 4.2 Cost-Aware Planning
* Allocate budget across multiple resources
* Optimize ROI of paid retrievals
---
## 4.3 Knowledge Graph Traversal
* Follow relationships across chunks
* Build multi-hop reasoning chains
---
## 4.4 Outcome-Based Learning
* Track which content improves results
* Reinforce high-performing sources
---
## 5. Skill Execution Order (Recommended)
```
Discover → Evaluate → Preview → Retrieve → Reason → Decide
```
---
## 6. System Integration
Skills operate across:
* `/ai-index.json` → discovery
* `/qa.json` → fast reasoning
* `/chunks.json` → deep reasoning
* `/api/*` → paid access
---
## 7. Constraints
Agents MUST:
* Follow `agents.md` rules
* Respect pricing and payment systems
* Avoid reconstructing paid content from metadata
* Minimize unnecessary calls
---
## 8. Design Philosophy
Skills are:
* modular
* composable
* reusable
* economically aware
They enable:
> Efficient, rational interaction with structured knowledge systems
---
## 9. Final Principle
> Skills define *how* an agent operates; content defines *what* it knows.