# Goal prompt

> Goal prompt is an open-source agent skill for ai models and llm tooling. Drafts copy-paste-ready /goal commands for goal mode in Claude Code and Codex. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/trailofbits/skills/tree/main/plugins/goal-prompt/skills/goal-prompt
- **Repository:** https://github.com/trailofbits/skills
- **GitHub stars:** 8,243
- **License:** CC-BY-SA-4.0
- **Skill name:** goal-prompt
- **Collection:** https://github.com/trailofbits/skills
- **Categories:** AI models and LLM tooling
- **Listing updated:** 2026-11-17

## About

Drafts copy-paste-ready /goal commands for goal mode in Claude Code and Codex. Use when the user asks to create, write, rewrite, improve, compress, clean up, or prepare a goal prompt, goal condition, /goal command, goal-mode objective, or copy-ready long-running task objective.

## When your agent uses it

> Drafts copy-paste-ready /goal commands for goal mode in Claude Code and Codex. Use when the user asks to create, write, rewrite, improve, compress, clean up, or prepare a goal prompt, goal condition, /goal command, goal-mode objective, or copy-ready long-running task objective.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/trailofbits/skills/tree/HEAD/plugins/goal-prompt/skills/goal-prompt)
- [Asks for: Bash, Read, Write](https://github.com/trailofbits/skills/blob/HEAD/plugins/goal-prompt/skills/goal-prompt/SKILL.md)
- [No network calls found in its scripts](https://github.com/trailofbits/skills/tree/HEAD/plugins/goal-prompt/skills/goal-prompt)
- [License: CC-BY-SA-4.0](https://github.com/trailofbits/skills/tree/HEAD/plugins/goal-prompt/skills/goal-prompt)

## Install

### Claude Code

This skill ships in the `goal-prompt` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add trailofbits/skills
/plugin install goal-prompt@trailofbits
```

Or copy only this skill to `~/.claude/skills/goal-prompt`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/goal-prompt &&
cp -R "$tmp/plugins/goal-prompt/skills/goal-prompt" ~/.claude/skills/goal-prompt &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/goal-prompt` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/goal-prompt` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/goal-prompt &&
cp -R "$tmp/plugins/goal-prompt/skills/goal-prompt" ~/.agents/skills/goal-prompt &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/goal-prompt` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/goal-prompt` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/goal-prompt &&
cp -R "$tmp/plugins/goal-prompt/skills/goal-prompt" ~/.cursor/skills/goal-prompt &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/goal-prompt` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/trailofbits/skills.git --path plugins/goal-prompt/skills/goal-prompt
```

Or copy the folder to `~/.gemini/skills/goal-prompt` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/goal-prompt`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/trailofbits/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/goal-prompt &&
cp -R "$tmp/plugins/goal-prompt/skills/goal-prompt" ~/.copilot/skills/goal-prompt &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/goal-prompt` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/trailofbits/skills.git
```

Then copy `skills/plugins/goal-prompt/skills/goal-prompt` into your agent's skills folder as `goal-prompt`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Goal prompt in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/goal-prompt to use it in all your projects, or to .claude/skills/goal-prompt in one project. Or install the goal-prompt plugin, which includes it: /plugin marketplace add trailofbits/skills, then /plugin install goal-prompt@trailofbits.

### Does Goal prompt run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Goal prompt?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Goal prompt?

The closest alternatives to Goal prompt are Academy guide, MCP builder, Claude API, Nano banana pro openrouter and Generate image.

## Alternatives

- [Academy guide](https://ai-powered.com/skills/academy-guide): Academy guide is an agent skill for ai models and llm tooling.
- [MCP builder](https://ai-powered.com/skills/mcp-builder): MCP builder is an agent skill for ai models and llm tooling.
- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is an agent skill for ai models and llm tooling.
- [Nano banana pro openrouter](https://ai-powered.com/skills/nano-banana-pro-openrouter): Nano banana pro openrouter is an open-source agent skill for design and media.
- [Generate image](https://ai-powered.com/skills/generate-image): Generate image is an open-source agent skill for design and media.
- [Phoenix evals](https://ai-powered.com/skills/phoenix-evals): Phoenix evals is an open-source agent skill for ai models and llm tooling.
- [Tldr prompt](https://ai-powered.com/skills/tldr-prompt): Tldr prompt is an open-source agent skill for ai models and llm tooling.
- [Arize AI provider integration](https://ai-powered.com/skills/arize-ai-provider-integration): Arize AI provider integration is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/goal-prompt
