Goal logo

Goal

Community
lennoxsaint
goal

Generate durable Codex goal packets or optimized Claude /goal prompts from user-provided plans, specs, or task lists. Use when someone asks to turn a plan into a /goal prompt, create a steerable autonomous execution goal, optimize a goal prompt, or write a goal contract for implementation.

Overview

Publisherlennoxsaint
RepositorySkills
Skill namegoal
Stars
39
Forks
0
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by lennoxsaint on GitHub. Read the source before you install it.

Installation

Install the Goal AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lennoxsaint/Skills/tree/main/goal
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lennoxsaint/Skills.git /tmp/Skills
mkdir -p .claude/skills
cp -r /tmp/Skills/goal .claude/skills/goal
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Goal in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Goal on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Goal is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Goal

When the goal is a quality bar that real data can measure (a pass rate, an eval score, a judge verdict), route to $hill-climb when it is installed: it turns the data into a locked test set and runs the climb itself, so it needs no /goal prompt.

Entry guard: creation versus continuation

Before applying the creation steps below, distinguish the current request from an already active goal. An automatic native Goal Mode continuation, or a request to resume/continue an existing goal, is execution work even when this skill remains in the conversation.

For an active continuation: read the existing goal and its current progress, inspect the current runtime phase/next action, and execute the next authorized step. Do not recreate the packet, return the launcher, ask for the original plan again, or call goal creation again. Preserve the original activation timestamp and completed work. Only return a new or revised launcher when the user explicitly requests one now. The creation-only output rules below do not apply to execution continuations. Respect actual Plan Mode if active.

Turn a user-provided plan into one bounded, verifiable goal.

  • For Codex, create a durable goal packet and return its paste-ready /goal launcher.
  • For Claude, return one paste-ready /goal prompt no longer than 4,000 characters.
  • Return notes only when the user explicitly asks for rationale, alternatives, or critique.

Core contract

  • Preserve the user's strategy, requirements, constraints, names, paths, dates, prices, gates, and stop rules.
  • Do not redesign the plan or reopen decisions unless a requirement is impossible or dangerously unclear.
  • If no plan, spec, or task list is provided, ask the user to paste the plan. Ask only that.
  • If a plan is provided, do not interview unless a critical blocker would make the goal unsafe or impossible.
  • Keep one goal to one bounded outcome. Route recurring or time-triggered routines to a scheduling or loop skill when one is available.
  • Resolve Codex versus Claude from the request or destination. Ask only when the platform is genuinely ambiguous and changes the result.
  • Prefer the shortest contract that preserves every execution-relevant fact.
  • Reference accessible source files by exact path and reading order instead of duplicating them. Inline anything the executor cannot retrieve.

Codex goal packet

For Codex, treat native Goal Mode as the lifecycle authority. The packet is the durable contract and progress surface; it does not replace /goal status, pause, resume, or clear controls.

Store each packet at .codex/goals/<goal-slug>/ inside the resolved workspace root. Treat packets as local runtime artifacts. Do not edit .gitignore, stage, or commit them unless the user explicitly asks.

Create the packet

  1. Resolve the workspace root to the Git root when one exists; otherwise use the current working directory.

  2. Write a short goal title with no more than eight meaningful words.

  3. Reserve a unique packet directory with:

    bash
    python3 "<skill-root>/scripts/goal_slug.py" --workspace-root "<workspace-root>" --title "<goal-title>" --reserve
  4. Use the exact packet_dir, goal_path, progress_path, and goal_slug returned as JSON. The helper normalizes lowercase ASCII slugs, keeps the final suffixed slug within 64 characters, and reserves collisions without overwriting an existing packet.

  5. Read assets/goal.md.template, fill every token, and save the final goal.md.

  6. Compute the SHA-256 of that saved file.

  7. Read assets/progress.md.template, fill every token including the saved goal hash, and save progress.md.

  8. Confirm neither saved file contains a {{...}} template token.

  9. Use absolute paths in the launcher. Quote paths containing spaces.

Ownership and steering

  • goal.md is owner-editable source truth for the outcome, constraints, permissions, exit criteria, and steering notes.
  • progress.md is Codex-owned runtime state. Codex updates it after every meaningful checkpoint and before stopping.
  • Never rewrite owner-controlled sections of goal.md while executing. If a user gives steering in the active thread, follow it immediately and record the accepted decision in progress.md.
  • Use this authority order:
    1. latest explicit instruction in the active thread
    2. current goal.md
    3. progress.md
  • Re-read goal.md before each checkpoint, after resume or compaction, and before every live, irreversible, or externally visible action.
  • Record the SHA-256 of the last-read goal.md in progress.md. When it changes, summarize the steering absorbed and adjust the next checkpoint before continuing.
  • Do not claim that editing the file interrupts a tool call already in flight. File steering takes effect at the next re-read.

Return the launcher

After creating the packet, return:

  1. A clickable link to goal.md.
  2. A copyable launcher in this shape:
text
/goal Execute the goal contract at "<absolute-path>/goal.md". Treat native /goal as the lifecycle authority. Re-read goal.md before every checkpoint, after resume or compaction, and before live or irreversible actions. Maintain "<absolute-path>/progress.md" after every meaningful checkpoint, including the current checkpoint, verified evidence, remaining work, blockers, accepted steering, and the SHA-256 of the last-read goal.md. Continue until the contract's exit criteria are proven or a hard blocker requires the owner.

Do not start the goal unless the user explicitly asks to start it. Creating the packet and launcher does not itself prove Goal Mode is active.

Goal contract standard

Write goal.md as a concise operational brief:

  1. Outcome
  2. Workspace and source truth
  3. Success and loop criteria
  4. Autonomy
  5. Hard stop rules
  6. Required work
  7. Verification
  8. Steering notes
  9. Final report

Apply these rules:

  • Define verifiable success criteria that Codex can evaluate after any turn.
  • Prefer numbers, thresholds, parity targets, checklists, named artifacts, or pass/fail checks when supported by the source plan.
  • Include known starting points, suspect areas, allowed tools, and acceptable limitations.
  • Define what Codex must inspect, change, verify, and decide at each checkpoint.
  • Require fresh progress evidence before continuing claims: changed files, passing checks, improved metrics, captured proof, or exact blocker text.
  • After the same symptom or error repeats three times, inspect fresh state and change strategy. Stop with the exact blocker if the changed strategy still cannot progress.
  • For indefinite-seeming work, include a turn, time, or checkpoint cap.
  • For visual work, use feature checks, specs, design-system adherence, screenshots, or visual diffs instead of "pixel perfect" alone.
  • Before completion, require cleanup and review of failed attempts, temporary tools, dead code, reduced coverage, and leftover artifacts.
  • Keep proof evaluator-visible. Separate draft, local, staged, runtime-verified, delivered, and live/public states.

Live-action gates

When the plan touches live systems, member data, payments, publishing, messages, calendar events, GitHub, production apps, or public copy:

  • Codex may inspect, draft, stage, screenshot, validate, and prepare.
  • Codex may submit, send, publish, delete, charge, change access or pricing, deploy, merge, announce, or write production data only when the plan explicitly authorizes that exact action.
  • If authorization is unclear, stop with the exact prepared output and ask for approval.
  • If credentials, CAPTCHA, passkey, SMS, OTP, recovery, password, or security prompts appear, stop and report the blocker.

Claude mode

For Claude, keep the prompt-only behavior:

  • Begin with /goal.
  • Use the user's plan as source truth.
  • Include outcome, sources, success and loop criteria, autonomy, hard stops, required work, verification, and final report.
  • Preserve live-action gates and proof-state distinctions.
  • Keep the complete prompt at 4,000 characters or fewer, including headings and whitespace.
  • Return only the prompt unless the user asks for notes.

Quality check

Before returning:

  • Confirm the goal is bounded and its stopping condition is objectively testable.
  • Confirm every source requirement, permission boundary, blocker, and proof obligation survives.
  • Confirm looped work says when to continue, change strategy, or stop.
  • Confirm the goal packet contains no unresolved template tokens.
  • Confirm goal.md and progress.md are in the same uniquely reserved packet directory.
  • Confirm the launcher uses the exact absolute paths and does not imply Goal Mode is already active.
  • Confirm progress.md is agent-owned and goal.md remains owner-editable.
  • Confirm Claude output stays within 4,000 characters.
  • Confirm no live action is authorized by implication.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Goal AI skill do?

Generate durable Codex goal packets or optimized Claude /goal prompts from user-provided plans, specs, or task lists. Use when someone asks to turn a plan into a /goal prompt, create a steerable autonomous execution goal, optimize a goal prompt, or write a goal contract for implementation.

Why use Goal on TypingMind?

Because you install it once and use it with any model. Goal is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Goal in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lennoxsaint/Skills/tree/main/goal. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Goal?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Goal?

As many as you like. As long as a model supports skills, you can use Goal with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Goal AI skill free?

Yes. It is published on GitHub by lennoxsaint under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇