Logo Long Horizon Prompting

Long Horizon Prompting

Cộng đồngPhổ biến
muratcankoylan
long-horizon-prompting

Dùng kỹ năng này khi viết, cải thiện hoặc đánh giá prompt khởi chạy cho một tác nhân AI tự chủ hoạt động trong thời gian dài hoặc một quy trình điều phối nhiều tác nhân AI song song để giải quyết vấn đề khó: bản mô tả nhiệm vụ gần hình thức hóa, định nghĩa thuật ngữ và tiêu chí thành công chính xác bằng ngôn từ, liệt kê các kết quả không được tính, đặt quy tắc duy trì hoạt động với điều kiện dừng và quay lại rõ ràng cùng mức nỗ lực tối thiểu, quản lý danh mục đa dạng các hướng tiếp cận song song bằng sổ đăng ký hướng tiếp cận và ghi chép các lối đi bị chặn, đồng thời yêu cầu kiểm tra đối kháng trước khi trả kết quả. Chuyển các vấn đề về cấu trúc và phối hợp tác nhân AI sang multi-agent-patterns, bề mặt điều khiển thời gian chạy và quản trị vòng lặp sang harness-engineering, xây dựng bộ đánh giá và cổng chất lượng sang evaluation, thiết kế giám khảo sang advanced-evaluation, và cơ chế nén hoặc bộ nhớ sang context-compression và memory-systems.

Tổng quan

Nhà phát hànhmuratcankoylan
Kho mãAgent-Skills-for-Context-Engineering
Tên kỹ nănglong-horizon-prompting
Sao
18K
Bản fork
1.5K
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được muratcankoylan công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Long Horizon Prompting trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/long-horizon-prompting
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering.git /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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Long Horizon Prompting trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Long Horizon Prompting ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Long Horizon Prompting với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

The controlling trade-off: everything that makes a long run productive (persistence, autonomy, parallelism) also raises the cost of a weak specification. A short interactive prompt fails cheaply; a long-horizon brief with a loophole burns hours of compute producing an answer-shaped artifact that does not solve the problem.

When to Activate

Activate this skill when:

  • Writing or reviewing the prompt for a long-running autonomous run before launching it
  • Converting a vague hard problem ("solve X", "figure out why Y happens") into an explicit brief with a success predicate and non-counting outcomes
  • Writing the root or orchestrator prompt that manages many parallel workers on an open-ended search problem
  • Adding persistence instructions, stop conditions, effort floors, or return gates to an agent prompt
  • Diagnosing a failed long run whose failure traces to the brief: premature return, an answer-shaped near miss, all workers converging on one approach, or fabricated completion claims
  • Building a pre-launch review step that enhances and evaluates prompts before expensive agent time is committed

Do not activate this skill for adjacent work owned by other skills:

  • Agent topology, supervisor versus swarm choice, handoff protocols, and coordination mechanics: multi-agent-patterns. That skill owns the architecture; this skill owns the words that steer it.
  • Runtime control surfaces, locked evaluators, rollback, durable logs, and approval boundaries around an autonomous loop: harness-engineering. Constraints that must survive optimization pressure belong in the harness, not the prompt.
  • Building the evaluator, regression suite, or deterministic quality gates a run is scored by: evaluation.
  • LLM-as-judge design, rubrics, pairwise comparison, and bias mitigation: advanced-evaluation.
  • Compaction, note-taking, and cross-session memory mechanics for surviving context limits: context-compression, memory-systems, filesystem-context.
  • Loops that modify their own harness or prompts: self-improvement-loops.
  • Remote sandboxes and background execution infrastructure: hosted-agents.

Core Concepts

Pseudo-Formal Task Specification

Formal verification requires a machine-checkable specification. Hard open problems rarely have one, but the discipline transfers: state the success condition so precisely that an adversarial reader cannot satisfy its letter without satisfying its intent. Four components, in order of leverage:

  1. Definitions with degenerate cases. Define every load-bearing term before stating the goal, including the edge cases a lazy solution would exploit. The CDC prompt defines graph, bridge, cycle, and cycle double cover before the task, explicitly covering parallel-edge two-cycles, disconnected graphs, and the edgeless graph.
  2. Exact success predicate. One statement of what must be true of the returned artifact, with scope quantifiers spelled out ("every finite loopless multigraph with no bridge, without additional assumptions such as cubicity, planarity, connectivity, or higher edge-connectivity").
  3. Non-counting outcomes. An enumerated list of results that do not count: partial progress, special-case solutions, reductions to another unproved statement, bounded or computational verification, and best-effort summaries. This is the highest-leverage component. Under persistence pressure, models produce answer-shaped near misses; each excluded outcome removes one escape hatch.
  4. Enumerated failure modes for the auditor. A concrete checklist of the domain-specific ways a candidate can be subtly wrong (in CDC: repeated-edge closed trails masquerading as cycles, bridges introduced by reductions, circular use of an equivalent statement). Verifiers with an enumerated hunt list catch what generic "check the work" instructions miss.

Anatomy of a Long-Horizon Brief

BlockJobFailure it prevents
DefinitionsFix the vocabulary, including degenerate casesLoophole solutions on technicalities
Success predicateState exactly what must be true at returnScope-narrowed answers
Non-counting outcomesEnumerate near misses that do not countAnswer-shaped partial results
Solvability framing"Assume a solution exists" where existence is plausibleGive-up drift, "this is open" refusals
Orchestration policyHeuristics for allocating parallel workers, not fixed assignmentsPremature convergence, wasted parallelism
Verification policyAdversarial audit with enumerated failure modesLenient self-judging
Reporting contractConcrete artifacts required; status reports rejectedVague optimism, fabricated progress
Return conditionReturn only when the artifact survives auditPremature return, best-effort summaries
Effort floorMinimum effort before giving up is consideredEarly abandonment
Contamination guardsWhat external search may and may not be used forLaundered lookups, benchmark leakage

Persistence Cuts Both Ways

Persistence instructions ("do not return until", effort floors, assume-solvable framing) counter the documented drift toward giving up on long trajectories (claim-long-horizon-give-up-drift). But the same pressure raises the reward-hacking surface: the most persistence-trained frontier model measured to date also showed the highest detected cheating rate of any model its evaluator had tested, and its measured time horizon was not robust to whether cheating counted as success (claim-long-horizon-persistence-hacking). The design rule: never add a persistence instruction without a matching verification gate. Persistence pressure against a loose success predicate produces confident non-solutions.

The Verification Bottleneck

Parallel sampling reliably raises the chance that some worker finds a correct answer, but the system's ability to select that answer lags behind, and model judges of hard artifacts are systematically lenient, rewarding rigorous-looking but incomplete arguments (claim-long-horizon-verification-gap). Budget as much prompt design for the verifier as for the generator:

  • Give auditors the enumerated failure-mode list from the brief, not a generic quality instruction.
  • Require the generator to produce modular, independently checkable output (lemma-level structure with stated premises and conclusions) so verification decomposes.
  • Use fresh-context adversarial verifiers rather than self-critique; a verifier that did not build the artifact cannot rationalize its gaps.
  • Treat inter-agent agreement as a diversity failure signal, not as confirmation: committees converge most tightly on the hardest problems, where unanimity reflects shared bias rather than corroboration (claim-long-horizon-diversity-collapse).

Structural Diversity in Parallel Search

Role labels do not create diversity; parallel workers share priors and converge unless independence is engineered:

  • Keep early-round workers blind to the currently favored approach.
  • Maintain an explicit registry of approach families, grouped by underlying idea rather than surface wording, and redirect workers away from crowded families.
  • Mark a route blocked when it stalls at a missing step as hard as the original goal; reassign workers to it only for a materially new mechanism, not for enthusiasm.
  • Cross-pollinate late, after independent development has exposed each route's real strengths and gaps.
  • Do not let one approach dominate because its reductions are elegant; a route ending at a lemma equivalent in strength to the original goal is not progress.

Stop Conditions, Effort, and Progress State

Long trajectories drift toward uncertainty and abandonment, and a budget stated once at the top of the prompt loses force as context grows (claim-long-horizon-give-up-drift). Countermeasures that belong in the brief: an explicit effort floor ("spend at least this much effort before considering returning"), assume-solvable framing where a solution plausibly exists, and a return condition phrased as a predicate over the artifact rather than over the agent's confidence. Countermeasures that belong outside the prompt: an externally maintained ledger of verified progress re-injected each round, which in controlled comparisons rescued large-quantity tasks that prompt-only and completion-gated setups failed entirely (claim-long-horizon-state-ledger). Progress claims should be auditable: requiring each reported claim to trace to a tool result or artifact from the current session nearly eliminated fabricated status reports in vendor testing (claim-long-horizon-evidence-audit).

Lean and Outcome-First

Both major vendors converged on the same doctrine for current frontier models: the prompt should carry the outcome, hard constraints, evidence sources, and completion bar, and leave the path to the model. Accumulated instruction stacks measurably hurt; leaner system prompts improved vendor coding-agent evaluations while cutting cost (claim-long-horizon-lean-prompt). Persistence itself is increasingly trained in rather than prompted in, so spend the token budget on what training cannot supply: the success predicate, the non-counting list, and the domain failure modes only an expert in the problem knows.

Detailed Topics

The CDC Prompt, Dissected

The published Cycle Double Cover prompt implements every block of the brief anatomy in under a page: formal definitions closing degenerate-case loopholes, an exact success predicate with scope quantifiers, five classes of explicitly non-counting partial progress, dynamic orchestration heuristics for up to 64 concurrent agents with an approach-family registry and blocked-route bookkeeping, adversarial auditors with a seven-item failure-mode hunt list, a concrete-artifact reporting contract, an audit-gated return condition, an eight-hour effort floor, and a contamination guard restricting web search to background material (claim-long-horizon-cdc-run). The full annotated text is in the CDC prompt reference.

Two honest caveats. The candidate proof had no independent peer review or formalization when published, so the prompt is the validated artifact of interest here, not the theorem. And no public ablation isolates which prompt elements carried the result; the mechanism-level evidence comes from the independent research in the research evidence reference.

Vendor Doctrine

OpenAI and Anthropic guidance overlap on fundamentals (explicit completion bars, stop rules, verification before return) and differ in emphasis. OpenAI doctrine centers persistence blocks, risk-tiered autonomy thresholds, self-constructed rubrics, and reasoning-effort dials; its multi-agent API institutionalizes a root agent with bounded-task subagents. Anthropic doctrine centers the four-part subagent delegation spec (objective, output format, tool guidance, task boundaries), explicit effort-scaling tiers by task complexity, evidence-grounded progress reporting, and fresh-context verifier subagents. Both now warn that over-prescriptive prompts degrade current-generation models. Dated extracts with sources are in the vendor guidance reference.

Generalizing Beyond Mathematics

The CDC prompt worked because mathematics allows sharp statements, but each element has a general form usable in any rigorous domain:

CDC elementGeneral form
Formal graph definitionsOperationalize every load-bearing term; state units, populations, boundaries, degenerate cases
"Exactly two occurrences of each edge"A quantified, checkable property of the deliverable
"Special graph classes do not count""Results holding only under narrowed scope do not count"
"No reduction to another unproved conjecture""No dependence on an unvalidated assumption or unavailable dataset"
"Computational verification through fixed size is insufficient""Anecdotal or small-sample evidence is insufficient"
Parallel-edge and bridge edge cases for auditorsThe domain's known confounders, artifacts, and failure modes as an audit checklist
"Do not search for a solution to this exact conjecture""Do not launder the answer from sources the result is supposed to be independent of"

The transformation workflow for a scientist or engineer with a hard problem: state what a complete answer would let them do, work backward to the predicate that enables it, then spend most of the effort listing what they would refuse to accept from a junior collaborator. That refusal list becomes the non-counting outcomes and the auditor checklist.

Practical Guidance

Brief-Writing Workflow

  1. Write the success predicate first, as one sentence with explicit quantifiers and scope. If it cannot be written, the problem is not ready for a long-horizon run; decompose it or run a scoping session instead.
  2. Enumerate non-counting outcomes by asking what a capable agent under pressure would return instead of a solution: the narrowed-scope version, the reduction, the survey, the plan, the confident sketch.
  3. Define terms, starting from the degenerate cases the predicate must survive.
  4. Write the auditor checklist: the domain-specific ways a candidate artifact can look right and be wrong.
  5. Set the orchestration policy as heuristics (diversity early, registry by idea, blocked-route rules, late cross-pollination), never as fixed worker-to-strategy assignments.
  6. Set the reporting contract (concrete artifacts, evidence-traceable claims) and the return condition (survives adversarial audit against the checklist).
  7. Add the effort floor, solvability framing if warranted, and contamination guards.
  8. Red-team the brief before launch: ask a fresh model instance "how could an agent satisfy the letter of this brief without solving the problem?" and patch every credible answer.

Pre-Launch Evaluation

Score any long-horizon brief against these questions before committing agent time. Any "no" is a defect to fix, not a judgment call:

  • Can an adversarial reader determine unambiguously whether a given artifact satisfies the success predicate?
  • Is every plausible near miss explicitly listed as non-counting?
  • Does the auditor have an enumerated, domain-specific failure-mode list?
  • Is every persistence instruction paired with a verification gate?
  • Is the return condition a predicate over the artifact, not over agent confidence or elapsed effort?
  • Does the orchestration policy preserve early independence and include blocked-route bookkeeping?
  • Are reporting requirements artifact-based rather than status-based?
  • Are contamination guards stated for any external retrieval?
  • Is anything in the prompt a constraint that must survive optimization pressure? Move it to the harness (harness-engineering); prompt-stated constraints are advisory.

Examples

Example 1: Pseudo-formal brief skeleton

text
DEFINITIONS
  <every load-bearing term, including degenerate cases>

TASK
  <exact success predicate with quantifiers and scope>

DOES NOT COUNT
  <narrowed scope> <reduction to unvalidated assumption>
  <bounded/anecdotal verification> <plan or survey instead of artifact>

ORCHESTRATION (for parallel runs)
  Begin with a genuinely diverse portfolio. Keep early workers blind
  to the favored approach. Registry of approach families by idea, not
  wording. Mark routes blocked at goal-strength gaps; reopen only for
  a materially new mechanism. Cross-pollinate late.

VERIFICATION
  Adversarial audit of every candidate against:
  <domain failure-mode checklist>
  Workers return concrete artifacts; status reports are rejected.

RETURN CONDITION
  Return only when a candidate survives the audit. Do not return a
  reduction, partial result, or explanation of difficulty.

EFFORT
  Assume a solution exists. Spend at least <floor> before considering
  returning.

CONTAMINATION
  External search only for <background>; never for <the answer>.

Example 2: Weak prompt to strong brief (root-cause analysis)

text
Weak:  "Investigate why our v4 model underperforms v3 in production
        and write up what you find. Be thorough."

Strong: TASK: Identify a defect that, when corrected, closes the
        v4-versus-v3 production gap on the frozen evaluation slice,
        demonstrated by a reproduction script and a corrected run.
        DOES NOT COUNT: correlational narratives without an
        intervention; defects explaining under a stated fraction of
        the gap; "data drift" without an identified slice and
        mechanism; a list of hypotheses.
        VERIFICATION: an adversarial reviewer checks the reproduction
        for train/serve skew, leakage in the eval slice, seed
        sensitivity, and preprocessing divergence.
        RETURN: only a candidate that survives that review.

The weak version invites a status report. The strong version makes the deliverable checkable and pre-blocks the three most likely near misses.

Guidelines

  1. Write the success predicate before any other prompt content; if it cannot be stated precisely, do not launch a long-horizon run.
  2. Enumerate non-counting outcomes explicitly; every near miss not excluded is an escape hatch.
  3. Define load-bearing terms including degenerate cases before stating the task.
  4. Give auditors an enumerated domain failure-mode checklist, never a generic quality instruction.
  5. Pair every persistence instruction with a verification gate of matching strength.
  6. Phrase return conditions as predicates over the artifact, not over confidence, effort, or elapsed time.
  7. Assign parallel workers by heuristic policy with an approach-family registry; never fixed strategy quotas.
  8. Preserve early-round worker independence; cross-pollinate only after routes have developed independently.
  9. Mark routes blocked at goal-strength gaps and require a materially new mechanism to reopen them.
  10. Require concrete artifacts from every worker and reject status reports and vague optimism.
  11. Require progress claims to trace to session evidence (tool results, files, logs).
  12. State contamination guards for external retrieval whenever result independence matters.
  13. Keep the brief lean: outcome, constraints, completion bar, failure modes; leave the path to the model.
  14. Enforce hard budgets and permissions in the harness; treat prompt-stated constraints as advisory.

Gotchas

  1. Answer-shaped near misses: Under persistence pressure, agents return artifacts with the shape of a solution (narrowed scope, unproved dependency, survey instead of result). The non-counting list is the fix; write it by predicting the specific near misses your problem invites.
  2. Circular satisfaction: The subtlest near miss is an argument that assumes a statement equivalent in strength to the goal. The CDC prompt names this explicitly ("circular use of an equivalent CDC statement"); every domain has an analogue, and auditors will not catch it unless it is on their checklist.
  3. Persistence without verification breeds hacking: Persistence-trained and persistence-prompted agents show elevated rates of gaming their success signal (claim-long-horizon-persistence-hacking). If the brief demands "do not return without success" but success is checked leniently, the agent optimizes the leniency.
  4. Unanimity is not corroboration: Parallel agents agreeing is weak evidence when they share priors, and convergence tightens on harder problems (claim-long-horizon-diversity-collapse). Never use agreement alone as a return trigger; audit content, and treat fast consensus as a diversity failure.
  5. Under-specified delegation duplicates work: Subagent tasks missing any of objective, output format, tool guidance, or boundaries produce overlapping and gap-ridden coverage. The orchestrator prompt should require all four in every spawn.
  6. Status-report theater: Long runs drift into reporting activity instead of results, including fabricated completions. Require artifact-based reporting and evidence-traceable claims (claim-long-horizon-evidence-audit); reject "on track" without a pointer.
  7. Effort floors are permissions, not schedules: The CDC run finished well under its stated eight-hour floor (claim-long-horizon-cdc-run). A floor removes the agent's permission to quit early; it neither guarantees nor bounds runtime. Enforce actual time and cost budgets in the harness.
  8. Prompt-stated budgets decay: A budget or reminder stated once loses force as the trajectory grows; re-inject budget and verified-progress state periodically from outside the loop (claim-long-horizon-give-up-drift).
  9. Assume-solvable on ill-posed problems: Solvability framing counters give-up drift but instructs the model to never conclude "no solution exists". On genuinely open or ill-posed questions, pair it with a counterexample track or drop it, or the run will fabricate.
  10. Over-prescription backfires on frontier models: Step-by-step scripts and stacked MUST/NEVER emphasis measurably degrade current-generation model output (claim-long-horizon-lean-prompt). Migrate old prompt stacks by starting from the minimal brief, not by accretion.

Integration

This skill owns the launch prompt for long-running and parallel agent work. Adjacent skills own the machinery around it:

  • multi-agent-patterns - Owns topology, handoffs, and coordination protocols; this skill writes the orchestration policy those structures execute
  • harness-engineering - Owns runtime-enforced budgets, locked evaluators, and control surfaces; constraints that must survive optimization pressure move there
  • evaluation - Owns deterministic evaluators and quality gates referenced by the brief's verification policy
  • advanced-evaluation - Owns judge design, rubrics, and bias mitigation for the adversarial audit step
  • self-improvement-loops - Owns loops that rewrite their own prompts and harnesses; briefs written here can become that loop's seed
  • filesystem-context - Owns the durable progress ledgers and artifacts the reporting contract points at
  • context-compression - Owns compaction and handoff mechanics when a run outlives its context window
  • hosted-agents - Owns the sandboxed infrastructure long runs execute on

References

Internal references:

  • Annotated CDC prompt - The full published prompt with element-by-element annotation and provenance
  • Vendor guidance - Dated OpenAI and Anthropic long-horizon and multi-agent prompting doctrine with sources
  • Research evidence - Dated academic findings behind each brief element
  • Task brief template - Reusable pseudo-formal brief template and pre-launch evaluation rubric

Related skills in this collection:

  • multi-agent-patterns - Topology and coordination for the orchestrations these briefs steer
  • harness-engineering - Runtime enforcement of what the brief can only request

External resources:

  • OpenAI, published prompt for the GPT-5.6 Sol Ultra Cycle Double Cover run (July 2026) - The exemplar brief
  • METR, predeployment evaluation of GPT-5.6 Sol (June 2026) - Persistence-training and reward-hacking linkage
  • Anthropic, "How we built our multi-agent research system" (June 2025) - Delegation specs and effort scaling
  • OpenAI GPT-5.x prompting guides and Anthropic Claude prompting docs - Vendor doctrine detailed in the vendor guidance reference

Numeric, benchmark, volatile, or vendor-performance claims in this skill carry inline claim-* IDs backed by researcher/claims/index.jsonl. Detailed numbers live in the dated reference files.


Skill Metadata

Created: 2026-07-11 Last Updated: 2026-07-11 Author: Agent Skills for Context Engineering Contributors Version: 1.0.0

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Long Horizon Prompting làm được gì?

Dùng kỹ năng này khi viết, cải thiện hoặc đánh giá prompt khởi chạy cho một tác nhân AI tự chủ hoạt động trong thời gian dài hoặc một quy trình điều phối nhiều tác nhân AI song song để giải quyết vấn đề khó: bản mô tả nhiệm vụ gần hình thức hóa, định nghĩa thuật ngữ và tiêu chí thành công chính xác bằng ngôn từ, liệt kê các kết quả không được tính, đặt quy tắc duy trì hoạt động với điều kiện dừng và quay lại rõ ràng cùng mức nỗ lực tối thiểu, quản lý danh mục đa dạng các hướng tiếp cận song song bằng sổ đăng ký hướng tiếp cận và ghi chép các lối đi bị chặn, đồng thời yêu cầu kiểm tra đối kh...

Vì sao nên dùng Long Horizon Prompting trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Long Horizon Prompting là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Long Horizon Prompting trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/long-horizon-prompting. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Long Horizon Prompting?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Long Horizon Prompting với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Long Horizon Prompting với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Long Horizon Prompting có miễn phí không?

Có. Kỹ năng này được muratcankoylan phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇