Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ Reply in the language of the user's latest message unless asked otherwise. Code,

The user has context you do not. Cross-model agreement is a recommendation, not a decision. The user decides.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
2 changes: 1 addition & 1 deletion autoplan/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ hooks:

## Shared preamble (load first)

This skill follows gstack shared preamble `4e82fa4c839f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/autoplan/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/autoplan/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.

## Preamble (run first)

Expand Down
7 changes: 6 additions & 1 deletion autoplan/sections/preamble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- AUTO-GENERATED from scripts/resolvers/preamble-hoist.ts — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# gstack shared preamble 4e82fa4c839f
# gstack shared preamble 227aca067dd3

## Plan Mode Safe Operations

Expand Down Expand Up @@ -225,6 +225,11 @@ During long-running skill sessions, when you finish a phase or change direction,

If you are looping on the same diagnostic, same file, or failed fix variants, STOP and reassess. Consider escalation or /context-save. Progress summaries must NEVER mutate git state.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
5 changes: 5 additions & 0 deletions benchmark-models/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ Reply in the language of the user's latest message unless asked otherwise. Code,

The user has context you do not. Cross-model agreement is a recommendation, not a decision. The user decides.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
5 changes: 5 additions & 0 deletions benchmark/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ Reply in the language of the user's latest message unless asked otherwise. Code,

The user has context you do not. Cross-model agreement is a recommendation, not a decision. The user decides.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
5 changes: 5 additions & 0 deletions browse/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ Reply in the language of the user's latest message unless asked otherwise. Code,

The user has context you do not. Cross-model agreement is a recommendation, not a decision. The user decides.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
2 changes: 1 addition & 1 deletion canary/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ triggers:

## Shared preamble (load first)

This skill follows gstack shared preamble `4e82fa4c839f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/canary/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/canary/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.

## Preamble (run first)

Expand Down
7 changes: 6 additions & 1 deletion canary/sections/preamble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- AUTO-GENERATED from scripts/resolvers/preamble-hoist.ts — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# gstack shared preamble 4e82fa4c839f
# gstack shared preamble 227aca067dd3

## Plan Mode Safe Operations

Expand Down Expand Up @@ -225,6 +225,11 @@ During long-running skill sessions, when you finish a phase or change direction,

If you are looping on the same diagnostic, same file, or failed fix variants, STOP and reassess. Consider escalation or /context-save. Progress summaries must NEVER mutate git state.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
2 changes: 1 addition & 1 deletion captain/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ allowed-tools:

## Shared preamble (load first)

This skill follows gstack shared preamble `4e82fa4c839f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/captain/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/captain/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.

## Preamble (run first)

Expand Down
7 changes: 6 additions & 1 deletion captain/sections/preamble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- AUTO-GENERATED from scripts/resolvers/preamble-hoist.ts — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# gstack shared preamble 4e82fa4c839f
# gstack shared preamble 227aca067dd3

## Plan Mode Safe Operations

Expand Down Expand Up @@ -225,6 +225,11 @@ During long-running skill sessions, when you finish a phase or change direction,

If you are looping on the same diagnostic, same file, or failed fix variants, STOP and reassess. Consider escalation or /context-save. Progress summaries must NEVER mutate git state.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
1 change: 1 addition & 0 deletions changelog.d/never-print-secrets-shared-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- **Every skill that loads the shared preamble, on every host, now says never to print a whole environment, git config or process table.** The rule used to load only in the Capy wrapper, and its list missed `git config --list`, which can print a proxy's login header, process or container listings that show arguments or environment (`ps aux`, `ps -ef`, `ps -o args`, `docker top ... args`, `docker inspect`), where run tokens ride, and `set -x` or an `export $(...)` that expands to a bare `export`. A new Ground Rules section in the shared preamble lists these commands and the safe forms, which are to read one value by name (`git config --get <name>`), check a variable is set without printing it, and list processes by name or pid. It also says to wait on CI with one `gstack-pr-wait` call instead of a poll loop or `gh pr checks --watch`, which spends the shared GitHub GraphQL quota. The section is pinned, so no model loadout drops it.
2 changes: 1 addition & 1 deletion codex/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ allowed-tools:

## Shared preamble (load first)

This skill follows gstack shared preamble `4e82fa4c839f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/codex/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/codex/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.

## Preamble (run first)

Expand Down
7 changes: 6 additions & 1 deletion codex/sections/preamble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- AUTO-GENERATED from scripts/resolvers/preamble-hoist.ts — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# gstack shared preamble 4e82fa4c839f
# gstack shared preamble 227aca067dd3

## Plan Mode Safe Operations

Expand Down Expand Up @@ -225,6 +225,11 @@ During long-running skill sessions, when you finish a phase or change direction,

If you are looping on the same diagnostic, same file, or failed fix variants, STOP and reassess. Consider escalation or /context-save. Progress summaries must NEVER mutate git state.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
2 changes: 1 addition & 1 deletion context-restore/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ triggers:

## Shared preamble (load first)

This skill follows gstack shared preamble `4e82fa4c839f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/context-restore/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/context-restore/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.

## Preamble (run first)

Expand Down
7 changes: 6 additions & 1 deletion context-restore/sections/preamble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- AUTO-GENERATED from scripts/resolvers/preamble-hoist.ts — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# gstack shared preamble 4e82fa4c839f
# gstack shared preamble 227aca067dd3

## Plan Mode Safe Operations

Expand Down Expand Up @@ -225,6 +225,11 @@ During long-running skill sessions, when you finish a phase or change direction,

If you are looping on the same diagnostic, same file, or failed fix variants, STOP and reassess. Consider escalation or /context-save. Progress summaries must NEVER mutate git state.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
2 changes: 1 addition & 1 deletion context-save/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ triggers:

## Shared preamble (load first)

This skill follows gstack shared preamble `4e82fa4c839f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/context-save/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/context-save/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.

## Preamble (run first)

Expand Down
7 changes: 6 additions & 1 deletion context-save/sections/preamble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- AUTO-GENERATED from scripts/resolvers/preamble-hoist.ts — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# gstack shared preamble 4e82fa4c839f
# gstack shared preamble 227aca067dd3

## Plan Mode Safe Operations

Expand Down Expand Up @@ -225,6 +225,11 @@ During long-running skill sessions, when you finish a phase or change direction,

If you are looping on the same diagnostic, same file, or failed fix variants, STOP and reassess. Consider escalation or /context-save. Progress summaries must NEVER mutate git state.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
2 changes: 1 addition & 1 deletion design-consultation/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ gbrain:

## Shared preamble (load first)

This skill follows gstack shared preamble `4e82fa4c839f` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/design-consultation/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.
This skill follows gstack shared preamble `227aca067dd3` (AskUserQuestion format, voice, writing, completeness and completion rules). If your Read of that file, headed by this id, is still in context, do not read it again; otherwise Read `~/.claude/skills/gstack/design-consultation/sections/preamble.md` in full before the command below. A section or subsection here with a shared heading replaces the shared one.

## Preamble (run first)

Expand Down
7 changes: 6 additions & 1 deletion design-consultation/sections/preamble.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- AUTO-GENERATED from scripts/resolvers/preamble-hoist.ts — do not edit directly -->
<!-- Regenerate: bun run gen:skill-docs -->
# gstack shared preamble 4e82fa4c839f
# gstack shared preamble 227aca067dd3

## Plan Mode Safe Operations

Expand Down Expand Up @@ -225,6 +225,11 @@ During long-running skill sessions, when you finish a phase or change direction,

If you are looping on the same diagnostic, same file, or failed fix variants, STOP and reassess. Consider escalation or /context-save. Progress summaries must NEVER mutate git state.

## Ground Rules

- Never print a whole environment, git config or process table; tokens ride in them. Banned: `env`, bare `printenv`, `set` or `export` (or an empty `export $(...)`), `export -p`/`-n`, `declare -p`/`-x`, `typeset -p`, `set -x`, `git config --list`/`-l`, any `ps` with full args (`aux`, `-ef`, `-o args`), `docker top ... args`, `docker inspect` Env. Read one value by name (`git config --get <name>`), check a variable with `[ -n "${NAME:-}" ] && echo set`, list processes by name or pid.
- Wait on CI with one `gstack-pr-wait <n> --until green` call, never a poll loop or `gh pr checks --watch`.

## Completion Status Protocol

When completing a skill workflow, report status using one of:
Expand Down
Loading
Loading