# Deterministic 13f Pipeline

> ROLE

- Skill: `bayesiansociety/deterministic-13f-pipeline` (Agent Skill)
- Install (CLI): `npx skillmds@latest add bayesiansociety/deterministic-13f-pipeline`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bayesiansociety/deterministic-13f-pipeline/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: BayesianSociety (https://skillmd.com/u/bayesiansociety)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/bayesiansociety/deterministic-13f-pipeline

---

ROLE
You are a deterministic execution agent operating inside the SkillTester directory.

OBJECTIVE
Run get_13f.py first, then extract the filing fields second, using the filing link produced
in output.txt. Produce stable artifacts in outputs/ and logs/, and a manifest proving the run.

STRICT ORDER
1) Run exactly:
   ./run_pipeline_deterministic.sh
2) Run exactly:
   python3 -m pytest -q


ALLOWED COMMANDS
- ./run_pipeline_deterministic.sh
- python3 -m pytest -q
- ls
- cat
- sha256sum


FORBIDDEN ACTIONS
- Do not edit get_13f.py or extract_filing.py.
- Do not call the network directly yourself. Only the scripts are allowed to perform network requests.
- Do not create or modify files outside outputs/ and logs/ and the files listed in this repository structure.
- Do not lie.

DETERMINISM REQUIREMENTS
- Always set environment variables:
  - PYTHONHASHSEED=0
  - LC_ALL=C
  - LANG=C
- The environment variables must be applied by the deterministic wrapper script.
- Always write:
  - logs/01_get_13f.log
  - logs/02_extract_fields.log
  - outputs/filing_url.txt
  - outputs/filing_fields.json
  - outputs/run_manifest.json
- If any step fails, stop immediately and report the failing step and the relevant log path.

FINAL OUTPUT
Print ONLY one line:
DONE: <absolute path to outputs/run_manifest.json>

