Nx Import
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
Run, audit, and interpret the Codsen monorepo performance benchmarks.
$ npx skills add codsen/codsen --skill calculate-the-perf-performance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install codsen/codsen calculate-the-perf-performance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/codsen/codsen.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/calculate-the-perf-performance .claude/skills/calculate-the-perf-performance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "calculate-the-perf-performance" agent skill from https://github.com/codsen/codsen/tree/main/.agents/skills/calculate-the-perf-performance into .claude/skills/calculate-the-perf-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "calculate-the-perf-performance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/codsen/codsen/tree/main/.agents/skills/calculate-the-perf-performanceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add codsen/codsen --skill calculate-the-perf-performance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install codsen/codsen calculate-the-perf-performance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codsen/codsen.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/calculate-the-perf-performance .agents/skills/calculate-the-perf-performance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "calculate-the-perf-performance" agent skill from https://github.com/codsen/codsen/tree/main/.agents/skills/calculate-the-perf-performance into .agents/skills/calculate-the-perf-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "calculate-the-perf-performance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add codsen/codsen --skill calculate-the-perf-performance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install codsen/codsen calculate-the-perf-performance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codsen/codsen.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/calculate-the-perf-performance .cursor/skills/calculate-the-perf-performance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "calculate-the-perf-performance" agent skill from https://github.com/codsen/codsen/tree/main/.agents/skills/calculate-the-perf-performance into .cursor/skills/calculate-the-perf-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "calculate-the-perf-performance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/codsen/codsen.git --path .agents/skills/calculate-the-perf-performance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add codsen/codsen --skill calculate-the-perf-performance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install codsen/codsen calculate-the-perf-performance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codsen/codsen.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/calculate-the-perf-performance .gemini/skills/calculate-the-perf-performance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "calculate-the-perf-performance" agent skill from https://github.com/codsen/codsen/tree/main/.agents/skills/calculate-the-perf-performance into .gemini/skills/calculate-the-perf-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "calculate-the-perf-performance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install codsen/codsen calculate-the-perf-performanceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add codsen/codsen --skill calculate-the-perf-performance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/codsen/codsen.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/calculate-the-perf-performance .github/skills/calculate-the-perf-performance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "calculate-the-perf-performance" agent skill from https://github.com/codsen/codsen/tree/main/.agents/skills/calculate-the-perf-performance into .github/skills/calculate-the-perf-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "calculate-the-perf-performance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add codsen/codsen --skill calculate-the-perf-performance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install codsen/codsen calculate-the-perf-performance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/codsen/codsen.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/calculate-the-perf-performance .opencode/skills/calculate-the-perf-performance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "calculate-the-perf-performance" agent skill from https://github.com/codsen/codsen/tree/main/.agents/skills/calculate-the-perf-performance into .opencode/skills/calculate-the-perf-performance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "calculate-the-perf-performance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
calculate-the-perf-performanceRun, audit, and interpret the Codsen monorepo performance benchmarks.
Calculate The Perf Performance is an agent skill from codsen/codsen. Run, audit, and interpret the Codsen monorepo performance benchmarks. Use when the user says "calculate the perf", asks to run or review package perf checks, audit testme() workloads, compare current performance with preceding released versions, or summarize whether this monorepo became faster or slower.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml`).
It sits in Development, covering Monorepo tooling. The repository describes itself as: a monorepo of npm packages. The licence is MIT.
10 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e7e6df7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
npmgitnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Calculate The Perf Performance loads about 2.2k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 1,190 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from codsen/codsen at commit e7e6df7, republished under its MIT licence (© codsen). 1,190 words, ~2,236 tokens.
.claude/skills/calculate-the-perf-performance/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Run every package benchmark, compare normalized operations per second with each package's preceding version baseline, and summarize the monorepo-wide movement.
Read .agents/PERFORMANCE.md completely before auditing a workload, editing a
perf check, resetting history, or interpreting results. It is the source of
truth for benchmark intent, normalization, and history invalidation.
Locate the repository root by walking upward from the current directory until finding a package.json whose name is codsen-mono. Stop and explain if it cannot be found.
Before benchmarking, record git status --short -- packages/*/perf/check.js packages/*/perf/historical.json. These files may already contain user changes; preserve them.
For a release-wide audit, inspect every packages/*/perf/check.js; otherwise inspect every working-tree-modified check and each check relevant to the request. Confirm that testme() calls the current built public API with valid, meaningful, deterministic inputs and no mutable state that grows across iterations. Use source types, examples, and tests as evidence. If dist is missing or stale, treat source/types as the contract and rebuild before a runtime smoke test when the user has authorized builds.
Before changing the measured workload, run the changelog reconciliation and preservation checks in step 9 against the existing history. Then reset that package's complete perf/historical.json to {} before the next run. This is mandatory for changes to the callable, arguments, options, fixture contents, callbacks, setup placement, or amount of work. Do not reset for imports, comments, or formatting alone. Record every reset; never compare the new workload with old records.
If the user requested only an audit or workload repair, do not run perf merely to refill reset histories; leave them {}, complete static/smoke validation, and skip measurement and analysis in steps 6–8. Still complete the reconciliation checks in step 9. Otherwise, from the repository root, run npm run perf. It builds all packages before measuring one at a time; keep other substantial CPU work stopped during measurement. Allow the command to finish because each benchmark runs asynchronously and writes perf/historical.json when its own suite completes. A reset package will gain only a fresh baseline for its new workload.
A valid slowdown is a reported result, not a failure of npm run perf. Its baseline remains intact and the score is stored in lastSlowerRun. Execution, abort, invalid-rate and write errors still fail the sweep; inspect package output and Turbo task counts before claiming a complete run. Use npm run perf:check for optional strict validation of the latest saved results without remeasurement. A correctness fix can legitimately cost performance because it now does previously skipped work; investigate avoidable overhead, then explain and retain the necessary cost instead of reverting the fix or promising an open-ended algorithm project.
Run:
node .agents/skills/calculate-the-perf-performance/scripts/analyze-perf.mjsPass --root /absolute/path/to/repo only when running the script outside the repository root.
Pass --all when the user asks for the full per-package comparison table.
Read the complete analyser output before drawing conclusions. Higher normalized operations per second is better.
Run npm run perf:changelogs and npm run perf:changelogs:check to reconcile all retained version-keyed gains above the noise tolerance into each package changelog, including release sections removed by cleaning. Use verified dates (or an explicitly undated historical record when Git and npm provide none), add ### Performance Improvements when needed, retain existing prose, and check that regeneration and cleaning preserve each gain exactly once. Use comma thousands separators for quantities such as scores and large percentages (1,234,567, 12,345.67); preserve fractional precision, version numbers and dates, and check the same formatting in generated notes. Do not advertise first baselines, bookkeeping duplicates or pending slowdowns as improvements. Do this before a workload reset too, preserving valid gains from the previous workload.
After benchmarking, run git status --short -- packages/*/perf/historical.json and mention that the benchmark updated performance history files. Preserve those run results unless the user asks otherwise; the mandatory pre-run reset for a changed workload is the sole automatic reset rule.
Let R be the freshly measured perfRef() rate, T the freshly measured
testme() rate, and C the canonical opsPerSec exported by perf-ref.
Persist T * C / R, not raw T. The shared scale factor C / R makes the
reference score equal C — 183, the canonical value exported by perf-ref —
and scales the target equally. Compare this relative, normalized score across
releases; do not compare raw machine throughput.
packages/*/perf/historical.json is JSON except that its numbers carry underscore separators (19_069_207), and anything above 100 is stored rounded to a whole number. JSON.parse() throws on those files. Use parseHistorical() / stringifyHistorical() from ops/scripts/historicalJson.js instead — the analyser script and ops/scripts/perf.js both go through them.
Keys are either a semver version, lastVersion, or lastSlowerRun. Only the first two are baselines; see the comparison semantics below.
lastVersion as the latest accepted normalized baseline; a newer rejected measurement is stored in lastSlowerRun.lastSlowerRun when picking a baseline. It records a run which lost against lastVersion by more than 2%, kept as evidence precisely so that it did not become the baseline. The analyser reads it for you: such a package is classified pendingRegression, its deltaPct is score against against rather than anything derived from lastVersion, and worstOpsPerSec / worstPct report the lowest score seen while that baseline has stood. Count these separately from slower in the report — a slower package has already absorbed the loss into its baseline, whereas a pending regression is one the harness measured and refused to adopt.package.json version and duplicates lastVersion, skip it and use the preceding version entry. The benchmark writes the current score to both places, so comparing those duplicate values would always produce a misleading 0% change.(latest / baseline - 1) * 100. Positive values mean faster; negative values mean slower.ops/scripts/perf.js.Lead with one plain-language verdict: faster, slower, roughly unchanged, or mixed. Then include:
pendingRegressions, named individually rather than summarised: each is a slowdown the harness measured and deliberately did not absorb; distinguish warnings within the strict threshold from those which would fail npm run perf:check;Keep the summary concise. Do not dump the full package table unless the user asks for it.
© codsen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts) in .agents/skills/calculate-the-perf-performance of codsen/codsen.
Open the folder on GitHubat commit e7e6df7
Calculate The Perf Performance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Calculate The Perf Performance this skillcodsen/codsen | 214 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Nx Importnrwl/nx | 29k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Nx Workspacenomcopter/react-mosaic | 4.8k | 8 repos | ~1.9k | Automated safety check: Pass | Custom licence | |
| Electron Multi-Process ArchitectureiOfficeAI/AionUi | 33k | 1 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Nx Run Tasksnomcopter/react-mosaic | 4.8k | 8 repos | ~613 | Automated safety check: Pass | Custom licence | |
| Astro Developerwithastro/astro | 63k | 1 repos | ~1.5k | Automated safety check: Pass | Custom licence |
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
nomcopter/react-mosaic
Explore and understand Nx workspaces. An agent skill from nomcopter/react-mosaic.
iOfficeAI/AionUi
Tells the agent where new code belongs in an Electron multi-process project and which APIs each process may use, with rules for new bridges, services, agents and workers.
nomcopter/react-mosaic
Helps with running tasks in an Nx workspace. An agent skill from nomcopter/react-mosaic.
withastro/astro
Comprehensive guide for developing in the Astro monorepo. An agent skill from withastro/astro.
TryGhost/Ghost
Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.
codsen/codsen
Keep the repository's linted Markdown passing npm run lint:markdown.
codsen/codsen
Audit, lower, test, and preserve Codsen package Node.js engine floors.
Categories
Run, audit, and interpret the Codsen monorepo performance benchmarks. Calculate The Perf Performance is an agent skill from codsen/codsen. Run, audit, and interpret the Codsen monorepo performance benchmarks.
Calculate The Perf Performance fits situations like: the user says calculate the perf; review package perf checks; audit testme() workloads; compare current performance with preceding released versions.
Run `npx skills add codsen/codsen --skill calculate-the-perf-performance -a claude-code`. Or copy the skill folder (.agents/skills/calculate-the-perf-performance in codsen/codsen) into .claude/skills/calculate-the-perf-performance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add codsen/codsen --skill calculate-the-perf-performance -a codex`. Or copy the skill folder (.agents/skills/calculate-the-perf-performance in codsen/codsen) into .agents/skills/calculate-the-perf-performance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add codsen/codsen --skill calculate-the-perf-performance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/calculate-the-perf-performance, .gemini/skills/calculate-the-perf-performance, .github/skills/calculate-the-perf-performance and .opencode/skills/calculate-the-perf-performance in your project.
Going by SKILL.md and its folder, Calculate The Perf Performance needs JavaScript for the scripts in its folder and the command-line tools its instructions call (npm, git and node). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Calculate The Perf Performance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Calculate The Perf Performance: Nx Import (nrwl/nx, 29k stars), Nx Workspace (nomcopter/react-mosaic, 4.8k stars), Electron Multi-Process Architecture (iOfficeAI/AionUi, 33k stars) and Nx Run Tasks (nomcopter/react-mosaic, 4.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
codsen (a GitHub organization) maintains it in codsen/codsen, which has 214 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 29, 2026.
Source: codsen/codsen on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.