Skip to content
Back to skills

Select Traceable Context Evidence

ASecurity

A deterministic tool for selecting a subset of evidence records that are valid, traceable to a source registry, and fit within a specified byte budget. It is designed to support model-led reasoning by providing a "ground truth" selection mechanism that handles contradictions explicitly.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 26, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 26, 2026

npx -y skills add alisonjieli-png/loop-engine --skill select-traceable-context-evidence --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Select Traceable Context Evidence?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Select Traceable Context Evidence
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alisonjieli-png-select-traceable-context-evidence/badge)](https://www.skillsdirectory.com/skills/alisonjieli-png-select-traceable-context-evidence)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Skill: select-traceable-context-evidence

## Description
A deterministic tool for selecting a subset of evidence records that are valid, traceable to a source registry, and fit within a specified byte budget. It is designed to support model-led reasoning by providing a "ground truth" selection mechanism that handles contradictions explicitly.

## Applicability
Use this skill when you have a large pool of potential evidence and need to extract a compact, verifiable set of facts to answer a question. It is particularly useful when the evidence contains conflicting claims.

## Workflow
1. **Model Phase**: The agent analyzes the question and the `evidence_pool` to determine which `id`s are `required_ids` and which `contradiction_groups` exist.
2. **Tool Phase**: The agent calls the `select_evidence.py` script with the determined constraints.
3. **Verification Phase**: The agent checks the `unresolved_contradictions` in the output. If a fact is part of an unresolved contradiction, the agent must phrase the answer with appropriate uncertainty (e.g., "Evidence suggests X, though Y remains unresolved").

## Implementation Details
- **Executable**: `.agents/skills/select-traceable-context-evidence/scripts/select_evidence.py`
- **Input Contract**: `contracts/input.schema.json`
- **Output Contract**: `contracts/output.schema.json`
- **Example Input**: `examples/input.json`
- **Example Output**: `examples/output.json`

## Distinction: Relevance vs. Integrity
- **Relevance (Model-led)**: Deciding if a record is "important" or "required" for the answer.
- **Integrity (Tool-led)**: Deciding if a record is "valid" (correct span, within budget, correct type).
The agent provides the relevance; the tool provides the integrity.

Files in this skill

  • SKILL.md1.7 KB
  • scripts/select_evidence.py5.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.