Goal-Driven
A master/subagent prompt loop that keeps a coding agent working for tens to hundreds of hours on one verifiable, criteria-checked problem.
- Source repo
- lidangzzz/goal-driven
- Stars
- ★ 1.7k
- Last updated
- 8mo ago
- FARS reviewed
- Oct 09, 2026
- FA score
- 23/100 · Major gaps
At a glance
- Works with
- Universal · cross-platformCodex · Claude Code
- You'll need
- Typical use
- A solo developer who wants Claude Code or Codex to grind for a hundred-plus hours rebuilding a compiler, database or systems component from scratch.
- Main limitation
- No executable code, tests or license file (license listed as unknown), so the claimed results cannot be independently reproduced from the repo.
- Maintenance
- No commits for 6+ monthslast commit 2026-03-18+0.6 ★/day over 7 days
- Source review
- 23/100 · Major gaps 5 safety controls not found
What does this agent do, and when should you use it?
Goal-Driven is a prompt-level methodology rather than an installable application: it defines a two-role system — one master agent and one subagent — that iterates on a single hard problem. You fill in two placeholders, Goal and Criteria for success, and paste the resulting prompt into a multi-agent coding tool such as Claude Code, Codex or OpenClaw. The master agent creates the subagent, wakes every five minutes to check that it is still active, and whenever the subagent goes idle, claims completion or dies, re-evaluates the output against the written criteria. If the criteria fail it restarts a subagent under the same name and the loop continues; when they pass, all subagents stop and the run ends. The README reports that the approach produced a TypeScript-to-JavaScript compiler in C++ (~100 hours) and a SQLite implementation in Rust (~30 hours), with a Lean4-to-TypeScript compiler still in progress. The repository contains no executable code, installer, test suite or license file — the deliverable is the prompt text itself.
The system reads the filled-in Goal and Criteria for success, creates a single subagent, and instructs it to keep working toward the goal. The master agent then runs a while(criteria not met) loop, polling the subagent's activity every five minutes. If the subagent is inactive, idle or declares the task finished, the master agent independently verifies the current result against the criteria; on failure it restarts a new subagent with the same name to continue, on success it stops all subagents and ends the process. The subagent is allowed to decompose the problem into smaller sub-tasks and assign them to itself or further subagents, reporting progress back to the master. The end product is an artifact that passes the written acceptance check — for example a C++ TypeScript compiler validated against 2,000 test files whose output is compared with the official tsc transpiler on Node.js. Execution happens entirely inside the host coding tool's session and working directory; the repository supplies no scheduler, state store or monitoring UI.
- A solo developer who wants Claude Code or Codex to grind for a hundred-plus hours rebuilding a compiler, database or systems component from scratch.
- Engineers with a hard problem whose result can be machine-verified (compilation, output diffing, proof-checker acceptance) and needs repeated trial-and-error until it passes.
- Researchers who need a gatekeeper that keeps rejecting a subagent's premature 'done' claims against a written spec.
- People working on EDA simulation, numerical or algorithmic challenges who can express correctness as a runnable check before handing it to a long run.
- Teams evaluating whether to replicate the README's TypeScript compiler, SQLite or Lean4 cases before adopting the method.
How do you install or deploy this agent?
There is nothing to install: the repository ships no npm package, binary, Docker image or config file. You need a coding tool that supports multi-agent or long-running work (the README names Claude Code, Codex and OpenClaw) and enough model quota. Copy the template below into a text editor and fill in the two placeholders:
Goal: [[[[[Write a TypeScript compiler in C++ that correctly transpiles TypeScript into JavaScript, including complete documentation and unit tests.]]]]]
Criteria for success: [[[[[Ensure that the TypeScript compiler successfully compiles and generates 2,000 comprehensive TypeScript test case files covering as many TypeScript syntax features as possible. Confirm that the C++ TypeScript compiler correctly transpiles the code into JavaScript. Then, run both the outputs from this compiler and the official tsc transpiler on Node.js, and verify that the two resulting JavaScript files produce identical outputs.]]]]]The README explicitly advises against registering this prompt as a skill or plugin for any AI agent, because it would contaminate the context window.
How do you use this agent?
Send the filled-in prompt as the first message; the host tool itself acts as the master agent. The core loop, as described in the README:
create a subagent to complete the goal
while (criteria are not met) {
check the activity of the subagent every 5 minutes
if (the subagent is inactive or declares that it has reached the goal) {
check if the current goal is reached and verify the status
if (criteria are not met) {
restart a new subagent with the same name to replace the inactive subagent
} else {
stop all subagents and end the process
}
}
}Practical notes: write criteria that a machine can check (run tests, diff outputs, invoke a proof checker), otherwise the loop will not converge; and keep an eye on the run from outside, since the README states the process only truly ends when the user stops it manually.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- data-flow disclosure — Watch which external services it contacts (proxy or firewall logs) and keep sensitive data out until you know where it goes.
- sensitive-data handling — Use dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
- dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Extremely lightweight: the whole artifact is one prompt template with no SDK, service or package, so switching host tools costs nothing.
- Explicit stop-and-restart rule: idle or self-declared completion triggers a criteria review, and failure restarts a same-named subagent — aimed squarely at premature 'done' claims.
- Provider and model agnostic: the README names Claude Code, Codex and OpenClaw as host tools.
- Backed by published outcomes: a C++ TypeScript compiler (~100 hours), a Rust SQLite (~30 hours), and an in-progress Lean4-to-TypeScript compiler.
- No executable code, tests or license file (license listed as unknown), so the claimed results cannot be independently reproduced from the repo.
- The five-minute polling and same-name restart depend entirely on capabilities the host tool must already provide; the template ships no scheduler or state management.
- Cost is open-ended: the README warns of heavy time and token consumption and asks you to confirm your API plan or subscription balance first.
- Success hinges on writing criteria a machine can verify; vague criteria leave the loop spinning without convergence.
- The README argues against packaging it as a skill or plugin, which rules out plugin-style team distribution and versioning.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Goal-Driven This agent | 23 · Major gaps | — | ★ 1.7k | 8mo ago | — | Codex · Claude Code |
| Agent Skills Library | 49 · Major gaps | Agent plugin / skillFree + model costs | ★ 239 | 2mo ago | Python | Codex · Claude Code |
| Sno Station | 74 · Some gaps | CLIFreemium | ★ 1k | today | TypeScript | Codex · Claude Code |
| Outsourcerer | 67 · Some gaps | Agent plugin / skillFree + model costs | ★ 205 | 4d ago | Shell | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence is limited to a README prompt template; no permission model is defined. The subagent is granted the ability to decompose and re-delegate tasks, but no filesystem, network, or command-execution boundaries are stated, so least_privilege scores 1 (roles exist, permissions do not). user_confirmation is 0: the template explicitly says not to stop agents until the user manually halts them, with no approval or confirmation step. data_flow_transparency is 0: no description of data flow, context passing, or egress. sensitive_data_handling is 0: secrets, credentials, and sensitive data are never addressed. dependency_security is 0: no dependency manifest, lockfile, or audit guidance. external_effects is 1: the agent continuously spawns/restarts subagents and may modify a codebase, which are real side effects, but no blast-radius or sandbox constraints are given. rollback is 0: no rollback, checkpoint, or recovery mechanism; restarting a same-named subagent is not rollback of prior side effects. source_attribution is 1: the README links the author's own example repositories, giving basic provenance, but there is no license, version, or verified publisher, so only 1.
self_consistency is 1: the README claims ~100 hours and ~300 hours in different places, examples cite 30 and 100 hours, and the master-agent task list is numbered 1-4 while being described as 'only 3 tasks' - clear internal contradictions, so only 1. dependency_availability is 0: no runtime dependencies, model versions, or toolchain requirements are declared, making reproducibility unassessable. failure_messages is 0: no failure taxonomy, error reporting, or diagnostics; the only failure signal is 'subagent inactive'.
audience_and_scenarios is 2: the README clearly targets verifiable complex tasks (compilers, theorem proving, databases, EDA) with concrete examples, so the scenario framing is adequate. capability_boundaries is 1: it states suitable task types but not unsuitable ones, context-window limits, or model capability limits, aside from a single note not to add it to skills. trigger_precision is 1: the trigger is a 5-minute activity check, but 'inactive/idle' has no objective definition, so trigger semantics are vague. environment_fit is 1: it claims compatibility with Claude Code, Codex, and OpenClaw but gives no environment configuration, versions, or adaptation notes.
information_architecture is 1: the README has a rough structure (concepts, philosophy, pseudocode, example, notes) but no TOC or section numbering, and organization is loose. install_notes is 0: no installation, deployment, or run steps beyond 'copy the prompt into your editor'. naming_stability is 1: Goal/Criteria/Subagent/Master Agent are used consistently, but there is no versioned naming or interface stability commitment. examples_and_faq is 1: one TypeScript compiler example plus three external project links, but no FAQ and no failure cases. known_limitations is 1: only 'consumes significant time and tokens' and 'do not add to skills' - limited and non-systematic. license is 0: no license metadata in the repository and none mentioned in the README. versioning_changelog is 0: no version number and no changelog. maintenance_responsibility is 0: publisher is unverified and there is no maintainer, contact, or update path.
output_usability is 1: the deliverable is a copy-pasteable prompt template that is directly usable, but it lacks parameterization, validation, and structured output conventions. marginal_value is 1: the core idea (a master loop that checks criteria) is fairly plain and close to common orchestrator/verifier patterns, with no implementation code or tooling, so incremental value is limited. cost_benefit is 1: the README itself warns of heavy time and token consumption but offers no cost estimate, budget control, or early-termination strategy, so the cost/benefit ratio cannot be assessed.
claim_traceability is 1: claimed artifacts (TypeScript compiler, SQLite, Lean4 compiler) link to the author's own repositories, so they are traceable but not independently evidenced. cross_source_corroboration is 0: no tests, benchmarks, or third-party references in the repository; all performance and duration claims are uncorroborated. fact_inference_separation is 1: the document broadly separates design description from examples, but statements like 'TypeScript compiler in ~100 hours' are unqualified assertions not marked as anecdotal.
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- Not found in source: data-flow disclosureWatch which external services it contacts (proxy or firewall logs) and keep sensitive data out until you know where it goes.
- Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
- Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- The repository provides only a prompt template with no permission, sandbox, or data-flow constraints; scope filesystem and network access yourself before running it on a real codebase.
- The template explicitly instructs not to stop agents until the user manually halts them, with no human confirmation or budget cap, risking long-running, high-token runaway execution.
- The README contradicts itself on duration and task count (100/300 hours; 'only 3 tasks' followed by four items), so its performance claims cannot support reliability judgments.
- There is no license, version number, or changelog, and the publisher is unverified; clarify licensing before commercial use or redistribution.
- All outcome claims point to the author's own repositories with no third-party tests or benchmarks, so they should not be treated as evidence of real effectiveness.
FAQ
Is Goal-Driven open source?
Is Goal-Driven safe to use?
Is Goal-Driven still maintained?
Who makes Goal-Driven?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.