100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code
Narrow the judge's allow rule to the two 100x tools its task offers
Dead Internet1b52f3fbc2a3
diff --git a/docs/install.md b/docs/install.mdindex 5260eb9..83732c3 100644--- a/docs/install.md+++ b/docs/install.md@@ -29,13 +29,13 @@ Run it again any time. It reports `unchanged` for what is already right. It neveEach release has one file, `100x-engineer-skill-<version>.tgz`. This page names the SHA-256 of the current one, so you can check it before npm runs anything from it. No clone is needed.- Version: `0.1.1`-- SHA-256: `5b8ecf6ce51a61000fe09281324c7fa8ad4f09a84a96aae918ec0d193f9eb765`+- SHA-256: `c7132d2898a4cd890cf1a73c564bc8e5005de2e894a3e6359e0f800e75af5401`On macOS and Linux:```bashcurl -fsSLO https://github.com/DeadInternetStudios/100x-engineer-skill/releases/download/v0.1.1/100x-engineer-skill-0.1.1.tgz &&-echo "5b8ecf6ce51a61000fe09281324c7fa8ad4f09a84a96aae918ec0d193f9eb765 100x-engineer-skill-0.1.1.tgz" | shasum -a 256 -c - &&+echo "c7132d2898a4cd890cf1a73c564bc8e5005de2e894a3e6359e0f800e75af5401 100x-engineer-skill-0.1.1.tgz" | shasum -a 256 -c - &&npm install -g ./100x-engineer-skill-0.1.1.tgz &&100x install```@@ -46,7 +46,7 @@ On Windows, in PowerShell:```powershellcurl.exe -fsSLO https://github.com/DeadInternetStudios/100x-engineer-skill/releases/download/v0.1.1/100x-engineer-skill-0.1.1.tgz-if ((Get-FileHash .\100x-engineer-skill-0.1.1.tgz -Algorithm SHA256).Hash -eq '5b8ecf6ce51a61000fe09281324c7fa8ad4f09a84a96aae918ec0d193f9eb765') { npm install -g .\100x-engineer-skill-0.1.1.tgz; 100x install } else { Write-Error 'The checksum does not match. Nothing was installed.' }+if ((Get-FileHash .\100x-engineer-skill-0.1.1.tgz -Algorithm SHA256).Hash -eq 'c7132d2898a4cd890cf1a73c564bc8e5005de2e894a3e6359e0f800e75af5401') { npm install -g .\100x-engineer-skill-0.1.1.tgz; 100x install } else { Write-Error 'The checksum does not match. Nothing was installed.' }```The install line puts the tool on your PATH, with the skills inside the package. `100x install` does what the installer above does, from there. To update, install the newer release the same way, with the checksum this page names for it, then run `100x install` again. `npm update -g` does not look for releases, because the package came from a file.diff --git a/plugins/100x/README.md b/plugins/100x/README.mdindex bd88bea..da9f113 100644--- a/plugins/100x/README.md+++ b/plugins/100x/README.md@@ -13,7 +13,7 @@ You need Claude Code, Node.js 22 or newer, and git. The skills also load in Clau```bashcurl -fsSLO https://github.com/DeadInternetStudios/100x-engineer-skill/releases/download/v0.1.1/100x-engineer-skill-0.1.1.tgz &&- echo "5b8ecf6ce51a61000fe09281324c7fa8ad4f09a84a96aae918ec0d193f9eb765 100x-engineer-skill-0.1.1.tgz" | shasum -a 256 -c - &&+ echo "c7132d2898a4cd890cf1a73c564bc8e5005de2e894a3e6359e0f800e75af5401 100x-engineer-skill-0.1.1.tgz" | shasum -a 256 -c - &&npm install -g ./100x-engineer-skill-0.1.1.tgz &&100x install```@@ -63,7 +63,7 @@ Only these reach the network, and only when you ask for them:- A run deploys a **preview** when your project already has a deploy setup (Vercel, Netlify, Cloudflare Pages, Firebase or Fly). It uses the login that is already on your machine and never the production flag, unless your brief says "deploy to production" in words. It does not create accounts or paste tokens.- On Cursor only, `100x helper setup`, `login` and `run` install `@cursor/sdk` 1.4.2 from npm, pinned the same way, and start helpers on your own Cursor account. You sign in once in the browser, or set `CURSOR_API_KEY` yourself. 100x never prints the key. The helper's task and what it reads go to Cursor. Claude Code users never need these.-One setting is off until you turn it on. `review.command` lets you start the judge as a shell command, set only in your global config, and only when you ask for it. The example for Claude in `skills/100x/references/apps.md` runs `claude -p` with an allow rule (`--allowedTools`) that names what the judge may do: read the project, edit files under `.100x/`, run `100x`, run a few read-only `git` commands, and run `npm run` and `npm test`. Claude refuses everything else. No example starts an app with its approvals off. The plugin never writes that setting itself, and it never changes Claude's permission settings.+One setting is off until you turn it on. `review.command` lets you start the judge as a shell command, set only in your global config, and only when you ask for it. The example for Claude in `skills/100x/references/apps.md` runs `claude -p` with an allow rule (`--allowedTools`) that names what the judge may do: read the project, edit files under `.100x/`, run `100x shots` and `100x text lint`, run a few read-only `git` commands, and run the project's `npm test`, `npm run build` and `npm run lint`. Claude refuses everything else, including the rest of `100x`. No example starts an app with its approvals off. The plugin never writes that setting itself, and it never changes Claude's permission settings.The `100x` tool has no analytics and no server of its own.diff --git a/plugins/100x/skills/100x/references/apps.md b/plugins/100x/skills/100x/references/apps.mdindex e0c37c1..7f28cfa 100644--- a/plugins/100x/skills/100x/references/apps.md+++ b/plugins/100x/skills/100x/references/apps.md@@ -48,10 +48,10 @@ Write the command and the model together. `100x config set review.command '<comm### claude-Flags read from `claude --help`, and run against `claude` 2.1.332. It answered a one-word task, wrote a file under `.100x/` and refused one outside it. No review has come back yet. The task goes before `--allowedTools`, which takes every word after it as a tool. Only `Edit(path)` rules limit where it writes, and they cover every tool that writes a file.+Flags read from `claude --help`, and run against `claude` 2.1.332. With project settings only, it wrote a file under `.100x/` and refused one outside it. It ran 8 commands the rule names (`git status`, `git diff`, `git log`, `npm test`, `npm run build`, `100x text lint`, `100x shots`) and refused 8 it does not (`git push`, `git commit`, `100x doctor`, `100x install`, `100x browsers`, `npm run deploy`, `npm run build-and-ship`, `rm -rf`). A hook in the owner's own settings that rewrites shell commands can make a command miss its rule, and then the judge is refused it. No review has come back yet. The task goes before `--allowedTools`, which takes every word after it as a tool. Only `Edit(path)` rules limit where it writes, and they cover every tool that writes a file. The rule names the two `100x` tools the judge's task offers, `shots` and `text lint`, and nothing else of `100x`: `install`, `browsers`, `helper` and `upstream` write outside the project or use the network, so they stay out of reach. It allows `npm run` for `build` and `lint` only, because any other project script can deploy.```sh-claude -p "$X100_TASK" ${X100_MODEL:+--model "$X100_MODEL"} ${X100_EFFORT:+--effort "$X100_EFFORT"} --allowedTools "Read,Glob,Grep,Edit(.100x/**),Bash(100x *),Bash(git status *),Bash(git diff *),Bash(git log *),Bash(npm run *),Bash(npm test *)"+claude -p "$X100_TASK" ${X100_MODEL:+--model "$X100_MODEL"} ${X100_EFFORT:+--effort "$X100_EFFORT"} --allowedTools "Read,Glob,Grep,Edit(.100x/**),Bash(100x shots *),Bash(100x text lint *),Bash(git status *),Bash(git diff *),Bash(git log *),Bash(npm test *),Bash(npm run build *),Bash(npm run lint *)"```### cursordiff --git a/skills/100x/references/apps.md b/skills/100x/references/apps.mdindex e0c37c1..7f28cfa 100644--- a/skills/100x/references/apps.md+++ b/skills/100x/references/apps.md@@ -48,10 +48,10 @@ Write the command and the model together. `100x config set review.command '<comm### claude-Flags read from `claude --help`, and run against `claude` 2.1.332. It answered a one-word task, wrote a file under `.100x/` and refused one outside it. No review has come back yet. The task goes before `--allowedTools`, which takes every word after it as a tool. Only `Edit(path)` rules limit where it writes, and they cover every tool that writes a file.+Flags read from `claude --help`, and run against `claude` 2.1.332. With project settings only, it wrote a file under `.100x/` and refused one outside it. It ran 8 commands the rule names (`git status`, `git diff`, `git log`, `npm test`, `npm run build`, `100x text lint`, `100x shots`) and refused 8 it does not (`git push`, `git commit`, `100x doctor`, `100x install`, `100x browsers`, `npm run deploy`, `npm run build-and-ship`, `rm -rf`). A hook in the owner's own settings that rewrites shell commands can make a command miss its rule, and then the judge is refused it. No review has come back yet. The task goes before `--allowedTools`, which takes every word after it as a tool. Only `Edit(path)` rules limit where it writes, and they cover every tool that writes a file. The rule names the two `100x` tools the judge's task offers, `shots` and `text lint`, and nothing else of `100x`: `install`, `browsers`, `helper` and `upstream` write outside the project or use the network, so they stay out of reach. It allows `npm run` for `build` and `lint` only, because any other project script can deploy.```sh-claude -p "$X100_TASK" ${X100_MODEL:+--model "$X100_MODEL"} ${X100_EFFORT:+--effort "$X100_EFFORT"} --allowedTools "Read,Glob,Grep,Edit(.100x/**),Bash(100x *),Bash(git status *),Bash(git diff *),Bash(git log *),Bash(npm run *),Bash(npm test *)"+claude -p "$X100_TASK" ${X100_MODEL:+--model "$X100_MODEL"} ${X100_EFFORT:+--effort "$X100_EFFORT"} --allowedTools "Read,Glob,Grep,Edit(.100x/**),Bash(100x shots *),Bash(100x text lint *),Bash(git status *),Bash(git diff *),Bash(git log *),Bash(npm test *),Bash(npm run build *),Bash(npm run lint *)"```### cursordiff --git a/test/claude-plugin.test.mjs b/test/claude-plugin.test.mjsindex e617379..7755a60 100644--- a/test/claude-plugin.test.mjs+++ b/test/claude-plugin.test.mjs@@ -123,6 +123,18 @@ test('no file in the plugin starts an agent with a flag that skips permission pr}});+// GitHub's AI scan flagged `Bash(100x *)` on the policy PR: it lets the judge run `100x install`, `browsers` and `helper`, which write outside the project or use the network.+test('an allow rule in the plugin names single commands, never a whole tool, a shell or a package script', () => {+ const broad = /^(\*|100x( \*)?|npm( run)?( \*)?|npx\b.*|pnpm\b.*|yarn\b.*|node\b.*|(ba|z)?sh\b.*|python3?\b.*|curl\b.*|wget\b.*|git( \*)?|git push\b.*|rm\b.*)$/;+ const rules = [];+ for (const rel of listFiles(dir).filter((f) => f.endsWith('.md'))) {+ for (const [, rule] of fs.readFileSync(path.join(dir, rel), 'utf8').matchAll(/Bash\(([^()"]*)\)/g)) rules.push({ rel, rule });+ }+ assert.ok(rules.length >= 8, 'the Claude example carries its allow rules');+ for (const { rel, rule } of rules) assert.doesNotMatch(rule, broad, `${rel} allows Bash(${rule}), which is wider than one command`);+ assert.ok(rules.some(({ rule }) => rule === '100x shots *') && rules.some(({ rule }) => rule === '100x text lint *'), 'the judge keeps the two 100x tools its task offers');+});+test('each script under skills/ ships as a Markdown file with the same code, and its skill says how to use it', () => {const sources = listFiles(path.join(ROOT, 'skills')).filter((rel) => SCRIPT.test(rel));assert.ok(sources.length >= 6, 'the 100x skill carries its six templates');