Skip to content
Back to skills

Endurance Goal

ASecurity

Set, show, or clear the long-running John goal from Codex. Use when the user wants endurance mode, a persistent project finish line, or the Claude command equivalent of /john:endurance.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
ai-agentspythongobash

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add kitchen-engineer42/joharnessburg --skill endurance-goal --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Endurance Goal?

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

Security grade badge for Endurance Goal
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kitchen-engineer42-endurance-goal/badge)](https://www.skillsdirectory.com/skills/kitchen-engineer42-endurance-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: endurance-goal
description: Set, show, or clear the long-running John goal from Codex. Use when the user wants endurance mode, a persistent project finish line, or the Claude command equivalent of /john:endurance.
---

# endurance-goal

This is the Codex equivalent of Claude Code's `/john:endurance` command.

## When to use

Use this for long John runs that span many iterations, context compactions, or
fresh sessions. The goal is stored in `.john/workspace.json` under
`session_metadata.endurance_goal`.

## Procedure

1. Parse the user's request:
   - goal text: set the endurance goal
   - no arguments: show the current endurance goal
   - `--clear`: remove the current endurance goal

2. Resolve the plugin root:
   - In a Codex plugin install, this skill lives under `<plugin-root>/skills/endurance-goal/SKILL.md`.
   - The script is at `<plugin-root>/scripts/set_endurance.py`.
   - In a source checkout, use `plugins/joharnessburg/scripts/set_endurance.py`.

3. Run the script from the user's project directory:

```bash
python3 "<plugin-root>/scripts/set_endurance.py" <goal-text-or---clear>
```

4. Report the result:
   - set: confirm the goal is written to `.john/workspace.json`
   - clear: confirm the goal was removed
   - show: print the current goal or say none is set

In Codex, persistence depends on the project state and any enabled Codex
`SessionStart` hook. If hooks are not enabled, re-read `.john/workspace.json`
and `PLAN.md` at the start of a resumed run.

Files in this skill

  • SKILL.md1.5 KB
  • agents/openai.yaml206 B

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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