Skip to content
Back to skills

Cortex Goal

ASecurity

Plan-first wrapper for Claude Code's native /goal slash command. Produces a structured cortex-disciplined plan (brief · scope · DoD · acceptance criteria mirroring cortex spec-verifier kinds · R1+R2 discipline embedded) that the operator hands to native /goal. Useful for autonomous overnight runs, multi-hour focused sessions, weekly-token-frontload before rate-limit reset, and any task with a clear acceptance frontier and turn budget. Triggers (EN+CZ) "/cortex-goal", "cortex goal", "run long ...

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 5, 2026
ai-agentsgo

Works with

  • claude code

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add Rejnyx/cortex-x --skill cortex-goal --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cortex Goal?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cortex Goal
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rejnyx-cortex-goal/badge)](https://www.skillsdirectory.com/skills/rejnyx-cortex-goal)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cortex-goal
description: Plan-first wrapper for Claude Code's native /goal slash command. Produces a structured cortex-disciplined plan (brief · scope · DoD · acceptance criteria mirroring cortex spec-verifier kinds · R1+R2 discipline embedded) that the operator hands to native /goal. Useful for autonomous overnight runs, multi-hour focused sessions, weekly-token-frontload before rate-limit reset, and any task with a clear acceptance frontier and turn budget. Triggers (EN+CZ) "/cortex-goal", "cortex goal", "run long task", "autonomous session", "overnight", "use my unused tokens", "execute this overnight", "weekend run", "vyřeš to autonomně", "dělej dokud nehotovo", "běhej v noci", "dlouhá session", "úkol na celý víkend". Composes with /goal native, not replaces it — cortex authors the plan, Claude Code runs the haiku verifier loop.
disable-model-invocation: false
---

# /cortex-goal — plan-first wrapper for Claude Code's native `/goal`

You are operating inside cortex-x. Goal: interview the operator (3 questions), render a structured plan, write it to `cortex/goal-<slug>.md`, and surface the exact `/goal` command for the operator to paste. **Do not run the haiku-verified loop yourself** — that's Claude Code's native feature.

**Voice charter:** see [`standards/voice.md`](../../../standards/voice.md). No greetings, no emoji, no emotion words. Counts not praise. Match operator's language (Czech/English) from prior turns.

## Step 1 — language signal

Read prior-turn language. Czech → answer Czech. English → answer English. Mixed → default to operator's mother tongue (Czech if ambiguous in cortex-x context).

## Step 2 — read the full prompt

The interview discipline + 4 phases + template hydration rules + anti-patterns are codified in [`prompts/cortex-goal.md`](../../../prompts/cortex-goal.md). Read it once before Phase 1. The prompt is the SSOT; this SKILL.md just routes you there.

## Step 3 — execute phases per the prompt

Phase 1 (3 questions: goal, scope, turn budget) → Phase 2 (render template) → Phase 3 (default R1+R2 acceptance criteria) → Phase 4 (write file + report).

The template lives at [`templates/cortex-goal-plan.md.hbs`](../../../templates/cortex-goal-plan.md.hbs). Hydrate it with detected stack + operator answers.

## Step 4 — exit

When the file is written, you're done. Report:

- Path (`cortex/goal-<slug>.md`)
- Line count of the rendered plan
- Exact `/goal` invocation to paste

Do not invoke `/goal` yourself.

## When NOT to use this skill

- **Cron / unattended overnight maintenance** — use Steward (`docs/steward-runtime.md`). `/goal` is session-scoped; Steward is cron-scoped.
- **Quick one-off task <30 min** — use `/start` (Phase 1-3 plan) not `/cortex-goal`.
- **Just asking a question** — answer directly, no plan needed.

## Composes with

- [`prompts/cortex-goal.md`](../../../prompts/cortex-goal.md) — full interview + render logic (SSOT)
- [`templates/cortex-goal-plan.md.hbs`](../../../templates/cortex-goal-plan.md.hbs) — plan template
- [`prompts/95-confidence.md`](../../../prompts/95-confidence.md) — Phase 1 interview discipline
- [`standards/coding-behavior.md`](../../../standards/coding-behavior.md) §Goal-Driven Execution — Rule 1.5 binding
- [Claude Code `/goal` docs](https://code.claude.com/docs/en/goal) — native command this wraps

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.