evidence-receipt-generation
Generate portable evidence receipts from run artifacts. Use when users ask for ticket-ready proof, receipt footers, or integrity-backed handoff metadata.
Best use case
evidence-receipt-generation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate portable evidence receipts from run artifacts. Use when users ask for ticket-ready proof, receipt footers, or integrity-backed handoff metadata.
Teams using evidence-receipt-generation should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/evidence-receipt-generation/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How evidence-receipt-generation Compares
| Feature / Agent | evidence-receipt-generation | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate portable evidence receipts from run artifacts. Use when users ask for ticket-ready proof, receipt footers, or integrity-backed handoff metadata.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Evidence Receipt Generation
Use this skill to generate integrity-backed receipts that are portable across CI, tickets, and audit handoff.
## Gait Context
Gait is an offline-first runtime for AI agents that enforces tool-boundary policy, emits signed and verifiable evidence artifacts, and supports deterministic regressions.
Use this skill when:
- incident triage needs portable receipt handoff proof
- CI gate failures require receipt/evidence attachment
- evidence outputs must be generated from Gait artifacts
Do not use this skill when:
- Gait CLI is unavailable in the environment
- no Gait run/pack artifact or run identifier is available as input
## Required Inputs
- `source`: run id, runpack path, or pack path.
- `out_path` (optional): destination file for JSON receipt output.
## Workflow
1. Verify integrity before receipt generation:
- `gait verify <source> --json`
2. Generate receipt from source artifact:
- when `out_path` is provided: `gait run receipt --from <source> --json > <out_path>`
- when `out_path` is omitted: `gait run receipt --from <source> --json`
3. Parse receipt fields for handoff from `out_path` (if set) or stdout:
- `ok`, `run_id`, `manifest_digest`, `ticket_footer`, `bundle`
4. Return concise evidence block containing:
- source identifier
- manifest digest
- ticket footer text
- verification status
## Safety And Portability Rules
- Never invent digests, run ids, or receipt text.
- Treat failed verification as a blocking state for receipt publication.
- Keep receipt output machine-readable and transportable.
- Avoid environment-specific absolute paths in final handoff.
## Usage Example
```bash
gait demo --json
mkdir -p ./artifacts
gait verify run_demo --json
gait run receipt --from run_demo --json > ./artifacts/receipt.json
```
Expected result:
- verify returns `ok=true` for intact artifacts
- receipt file contains a non-empty `ticket_footer` suitable for issue or PR evidence
## Validation Example
```bash
gait demo --json
mkdir -p ./artifacts
gait run receipt --from run_demo --json > ./artifacts/receipt.json
python3 - <<'PY'
import json
from pathlib import Path
p = json.loads(Path('./artifacts/receipt.json').read_text(encoding='utf-8'))
assert p.get('ok') is True
assert str(p.get('ticket_footer', '')).strip()
print('validated receipt footer present')
PY
```
Expected result:
- script prints `validated receipt footer present`