Skip to content
Back to skills

Cot Recovery Harness

ASecurity

Run a bounded standard-versus-chain-of-thought proxy recovery experiment and emit auditable recovery artifacts.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
researchpythonbash

Security analysis

A100/100

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

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill cot_recovery_harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cot Recovery Harness?

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

Security grade badge for Cot Recovery Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-cot-recovery-harness/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-cot-recovery-harness)

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
---
name: cot_recovery_harness
description: Run a bounded standard-versus-chain-of-thought proxy recovery experiment and emit auditable recovery artifacts.
---

# Chain-of-Thought Recovery Harness

Use this skill when recovering a fast, mechanism-faithful result for the chain-of-thought prompting paper under bounded runtime. The harness is designed for soft-mode proxy recovery when proprietary or very large model paths are unavailable. Do not use it to claim full PaLM 540B reproduction unless the runtime handoff proves such a model is actually ready.

## Inputs

- Attempt directory with `module_plan.json`.
- Generated skill root containing `cot_prompt_templates`, `cot_answer_extraction`, and `cot_equation_calculator`.
- `environment/runtime_handoff.json`.
- Optional mini dataset JSON. If omitted, the harness creates deterministic GSM8K-style items in the current attempt.

## Outputs

- `recovery/logs/generated_data_item.json`
- `recovery/logs/predictions.json`
- `recovery/logs/training_trace.json`
- `recovery/logs/generated_skill_invocations.json`
- `recovery/recovery_result.json`

## Workflow

1. Read the module-plan target and runtime handoff.
2. Choose full recovery only if the runtime handoff says a suitable model is ready; otherwise declare reduced proxy recovery.
3. Build standard and chain-of-thought prompts through `cot_prompt_templates`.
4. Run a bounded deterministic predictor for proxy mode. It solves multi-step arithmetic only on the chain-of-thought path and uses a weaker direct baseline for standard prompting.
5. Extract final answers through `cot_answer_extraction`.
6. Verify reasoning equations through `cot_equation_calculator`.
7. Score accuracy, write mechanism checks, and save a small parameter-update trace that documents the proxy baseline refinement.
8. Emit recovery result metadata whose `paper_target` exactly matches `module_plan.fast_recovery_target`.

## Validation

Run:

```bash
python scripts/run_cot_proxy_recovery.py --self-test
python -m unittest discover -s tests
```

In a Distiller attempt, run the script with `--attempt-dir`, `--skill-root`, and `--runtime-handoff`, then validate the attempt with `validate_recovery_experiment.py`.

## Limitations

The proxy uses deterministic arithmetic logic rather than an LLM. It is evidence that the generated skills preserve the paper mechanism, not evidence that a particular large language model reaches the paper's reported accuracy.

Files in this skill

  • SKILL.md2.4 KB
  • scripts/run_cot_proxy_recovery.py14.8 KB
  • tests/test_run_cot_proxy_recovery.py1.6 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.

Comments

Loading comments…

Newsletter

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