# long-horizon-prompting

> Claude/Codex skill by [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars · Updated 2026-10-12

This skill should be used when writing, enhancing, or evaluating the launch prompt for a long-running autonomous agent or a parallel multi-agent orchestration attacking a hard problem: pseudo-formal task briefs that define terms and an exact success predicate linguistically, enumerate non-counting outcomes, set persistence rules with explicit stop and return conditions and effort floors, manage a diverse portfolio of parallel approaches with an approach registry and blocked-route bookkeeping, and gate the return on adversarial audit. Route agent topology and coordination protocols to multi-agent-patterns, runtime control surfaces and loop governance to harness-engineering, evaluator and quality-gate construction to evaluation, judge design to advanced-evaluation, and compaction or memory mechanics to context-compression and memory-systems.

## Install

```sh
git clone https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering /tmp/Agent-Skills-for-Context-Engineering && ln -s /tmp/Agent-Skills-for-Context-Engineering/skills/long-horizon-prompting ~/.claude/skills/long-horizon-prompting
```

## From README

Long-Horizon Prompting This skill covers the design of the prompt that launches an agent expected to work autonomously for hours or days, alone or as an orchestrator managing many parallel workers. The central technique is the pseudo-formal task brief: a specification written with the rigor of formal verification but expressed linguistically, because most hard problems have no machine-checkable success condition. The exemplar is the published prompt behind GPT-5.6 Sol Ultra's candidate proof of the Cycle Double Cover Conjecture, produced by a 64-subagent orchestration (claim-long-horizon-cdc-run). The prompt structure generalizes far beyond mathematics: any domain where success can be stated precisely and failure modes can be enumerated can use the same brief anatomy.

## Links

- HTML page: https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/skills/long-horizon-prompting/
- GitHub: https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering
- Author: [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md)

## More from this repo

- [context-engineering-collection](https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/index.md) — A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and...
   - [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars
- [self-improvement-loops](https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/skills/self-improvement-loops/index.md) — This skill should be used when the harness, scaffold, workflow, or optimizer itself is the optimization target:...
   - [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars
- [context-compression](https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/skills/context-compression/index.md) — This skill should be used when long-running agent sessions need context compression, structured summarization,...
   - [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars
