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.
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-promptingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering /tmp/Agent-Skills-for-Context-Engineering && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Agent-Skills-for-Context-Engineering/skills/long-horizon-prompting ~/.gemini/antigravity-cli/skills/long-horizon-promptingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install long-horizon-prompting in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
