Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

long-horizon-prompting

Skill by muratcankoylan

Writes, enhances, and evaluates launch prompts for long-running autonomous agents and parallel multi-agent orchestrations. Built for people who need a hard problem solved without premature returns or loophole answers.

  • Score 94
  • 18k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install long-horizon-prompting

Built from the published package, never by AI.

git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering /tmp/Agent-Skills-for-Context-Engineering && mkdir -p ~/.claude/skills && cp -r /tmp/Agent-Skills-for-Context-Engineering/skills/long-horizon-prompting ~/.claude/skills/long-horizon-prompting

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install long-horizon-prompting in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Long-horizon-prompting is a skill for writing, enhancing, and evaluating the launch prompt for a long-running autonomous agent or a parallel multi-agent orchestration working on a hard problem. Its central technique is the pseudo-formal task brief. The brief defines load-bearing terms and an exact success predicate in linguistic form, lists non-counting outcomes, and sets persistence rules with stop and return conditions and effort floors.

The skill also covers managing a portfolio of parallel approaches with an approach registry and blocked-route bookkeeping, and gating the return on adversarial audit. It recommends typed checks in handoff contracts and sends topology, runtime control, evaluators, judge design, and memory work to other skills. It is written for people preparing expensive autonomous runs before committing agent time.

Written from the project's SKILL.md and checked against it.

What it can do

  • Pseudo-formal task briefsWrites a task specification with defined terms, degenerate cases, and an exact success predicate.
  • Non-counting outcomesLists near misses such as partial progress or reductions that do not count as success.
  • Persistence rulesSets stop and return conditions, effort floors, and solvability framing for long runs.
  • Approach registryTracks a diverse portfolio of parallel approaches and blocked routes.
  • Adversarial audit gateGates the return on an audit with enumerated failure modes and a blocking rule.
  • Handoff contractsDefines typed checks and required artifacts each worker must return before downstream work starts.
  • Prompt enhancement and evaluationReviews and improves launch prompts before expensive agent time is committed.

Try asking

  • Review my launch prompt for a 12-hour autonomous research run
  • Add a success predicate and non-counting outcomes to this brief
  • Write an output contract and audit rules for my parallel workers

Good to know

  • Covers prompt design only. Agent topology, runtime control, evaluators, and judge design belong to other skills.
  • Does not build the evaluator, regression suite, or quality gates a run is scored by.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/long-horizon-prompting/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md33 KB
  • references/cdc-prompt-annotated.md10 KB
  • references/mass-handoff-contracts.md11 KB
  • references/research-evidence.md12 KB
  • references/task-brief-template.md11 KB
Show all 6 files
  • references/vendor-guidance.md10 KB

Alternatives to long-horizon-prompting

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

long-horizon-prompting: common questions

What is a pseudo-formal task brief?

It is a specification written with the rigor of formal verification but expressed in language. It is used when a hard problem has no machine-checkable success condition.

Why does the skill list non-counting outcomes?

The source says persistence pressure makes models produce answer-shaped near misses. Each excluded outcome removes one escape hatch.

Which skills does this one hand off to?

The source routes multi-agent topology to multi-agent-patterns, runtime control to harness-engineering, evaluators to evaluation, judge design to advanced-evaluation, and memory to context-compression and memory-systems.

How do I install long-horizon-prompting?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is long-horizon-prompting free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is long-horizon-prompting safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to long-horizon-prompting?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

long-horizon-prompting Install

Add to stack

Loading.