Skip to content

Add calculators and templates to eleven skills, with a script safety check - #57

Merged
cbrock84 merged 3 commits into
mainfrom
claude/computing-skills
Nov 30, 2026
Merged

cbrock84 merged 3 commits into
mainfrom
claude/computing-skills

Conversation

@cbrock84

@cbrock84 cbrock84 commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Requested by Chris · project thread

Roadmap idea 5, phase 2. Stacked on #56; merge that first.

What changes

Six skills gain a calculator under scripts/, five gain a fill-in template under assets/, and each SKILL.md gains a ## Calculator or ## Template section that says when to use it and what it does not know.

Skill Ships
finance:unit-economics contribution, payback, lifetime value
finance:treasury-and-liquidity runway, base and stressed
demand-generation:experimentation sample size and test duration
pmo:estimating-and-contingency three-point estimate and contingency
revenue:sales-compensation-and-territory quota capacity against plan
operations:capacity-and-demand-planning queue staffing (Erlang C)
pmo:program-management RACI chart
legal-risk:enterprise-risk risk register
finance:internal-controls-and-audit audit request list
legal-risk:corporate-governance board memo
legal-risk:regulatory-compliance policy

The safety check

Scripts run on the user's machine, so scripts/check-skill-scripts.py is new in check-all.sh:

  • Parses every shipped Python script without running it. Rejects imports outside argparse, json, math, statistics, sys, fractions, decimal, and any use of open, exec, eval, compile, __import__, getattr and the attributes that reach around an allowlist.
  • Runs each passing script with python3 -I <script> --self-test; it must exit 0. Each self-test compares output with independently worked answers.
  • Every file under scripts/ or assets/ must be named in its SKILL.md, and every named path must exist.
  • Non-Python scripts need an entry in EXEMPT with a reason. One exists: the surface guard.

The scan is a floor, not a sandbox. Review still reads every new script.

Also

  • D46 in the decision log.
  • CONTRIBUTING: table row and a section on shipping a script or template.
  • README contributing paragraph names the three newest checks.

Verified

./scripts/check-all.sh passes locally (19 checks). The scan was tested against a script that imports os, calls open, reads sys.modules and uses a relative import; all four were reported.

Eval results (November 30)

Run on this branch, so the skills measured are the ones this PR ships. Results are in evals/results/, the scorecard is docs/EVALS.md, and the README badge shows the trigger score.

Test claude-opus-5-5 claude-sonnet-5-5
Right skill loaded 179 of 179 179 of 179
Criteria met, without → with skill 52 → 63 of 64 not recorded
Criteria met, without → with profile 1 → 20 of 21 not recorded
  • The first Opus output run (50 → 58 of 64) had a harness fault: the model has no tools in the test and was not told, so three answers contained attempted tool calls and one was nothing else. Both arms now say no tools exist, and a tool-call answer is an error, not a grade. The table is the rerun, with 0 errors.
  • The Sonnet output run had 6 of 46 answers refused by the provider's safeguards. The runner writes nothing above 5% errors, so no Sonnet output score exists.
  • 179 of 179 on both models says the trigger cases are easy. Harder cases, written from the four open overlaps, would make the number mean more.
  • Measured cost: $23.67 in all ($17.40 first run, $6.27 rerun).

After merge

The 1.1.0 ChatGPT upload packages were built before this change. Rebuild with python3 scripts/build-listing.py --all before submitting.


Generated by Claude Code

…check

Six skills gain a standard-library calculator under scripts/ and five gain a
fill-in template under assets/. scripts/check-skill-scripts.py runs in CI: it
parses every shipped script and rejects imports outside a short allowlist and
any file, process, network or eval use, runs each with --self-test in isolated
mode, and requires every script and asset to be named in its SKILL.md. D46.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011eJk2N15P9YFWKecThPfFi
@cbrock84 cbrock84 self-assigned this Nov 29, 2026
Triggers: 179 of 179 on claude-opus-5-5 and on claude-sonnet-5-5.
Outputs on claude-opus-5-5, graded by claude-opus-5-5: 58 of 64 criteria with
the skill against 50 of 64 without; 17 of 18 with a company profile against 0
of 18 without. The claude-sonnet-5-5 output run had 6 of 46 answers refused by
the provider and was not written, as the runner requires.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011eJk2N15P9YFWKecThPfFi
The output test gives the model no tools and did not say so. Three answers in
the first run contained attempted tool calls and one was nothing else. Both
arms now carry the same line saying no tools exist, an answer that is a tool
call is counted as an error and not graded, and a failed case is named as it
fails.

Rerun on claude-opus-5-5: 63 of 64 criteria with the skill against 52 of 64
without; 20 of 21 with a company profile against 1 of 21 without; 0 errors.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011eJk2N15P9YFWKecThPfFi
Base automatically changed from claude/skill-evals to main November 30, 2026 21:37
@cbrock84
cbrock84 marked this pull request as ready for review November 30, 2026 21:37
@cbrock84
cbrock84 merged commit c448c13 into main Nov 30, 2026
1 check passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T21:38:13.400765Z a4a6eb3 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants