Agent skill

New Command

by cortex-tms in cortex-tms/cortex-tms

Scaffold a new CLI command for Cortex TMS following the existing codebase patterns.

MITAuto-check passedDevelopment

Install New Command

skills CLI
$ npx skills add cortex-tms/cortex-tms --skill new-command -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cortex-tms/cortex-tms new-command --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cortex-tms/cortex-tms.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-command .claude/skills/new-command && rm -rf skills-src

Use ~/.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/

Facts

Skill name
new-command
GitHub stars
180
Token cost
~364 tokens
SKILL.md length
155 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Scaffold a new CLI command for Cortex TMS following the existing codebase patterns.

  • Works in 4 steps: Read existing patterns — look at… → Read types — check src/types/cli.ts for… → Read tests — check… → …
  • Tasks that involve Project scaffolding
  • SKILL.md covers Before Writing Code, Implementation Checklist, Rules and Arguments
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

New Command is an agent skill from cortex-tms/cortex-tms. Scaffold a new CLI command for Cortex TMS following the existing codebase patterns.

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Project scaffolding. The repository describes itself as: The Universal AI-Optimized Project Boilerplate. A Tiered Memory System (TMS) designed to maximize AI agent performance. Includes an interactive CLI tool and a high-signal… The licence is MIT.

When your agent uses it

  • Tasks that involve Project scaffolding

Example prompts

  • “/new-command”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read existing patterns — look at src/commands/archive.ts and src/commands/status.ts as reference implementations
  2. Read types — check src/types/cli.ts for existing interfaces
  3. Read tests — check src/tests/archive.test.ts for the test pattern
  4. Propose the command — describe what it does, its subcommands/options, and which files will be created/modified. Follow…

What it can do on your machine

Read from SKILL.md and the folder at commit 2e7c79e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Command loads about 364 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 155 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~364

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.

Safety

Auto-check passed

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from cortex-tms/cortex-tms at commit 2e7c79e, republished under its MIT licence (© cortex-tms). 155 words, ~364 tokens.

Download SKILL.mdSave it as .claude/skills/new-command/SKILL.md (or your agent's skills folder).
name
new-command
description
Scaffold a new CLI command for Cortex TMS following the existing codebase patterns.
disable-model-invocation
true

New Command

Scaffold a new CLI command for Cortex TMS.

Before Writing Code

  1. Read existing patterns — look at src/commands/archive.ts and src/commands/status.ts as reference implementations
  2. Read types — check src/types/cli.ts for existing interfaces
  3. Read tests — check src/tests/archive.test.ts for the test pattern
  4. Propose the command — describe what it does, its subcommands/options, and which files will be created/modified. Follow Propose/Justify/Recommend. Wait for approval.

Implementation Checklist

After the user approves the plan:

  • Create src/commands/<name>.ts — export createXCommand() and xCommand
  • Add types to src/types/cli.ts if needed
  • Register in src/cli.ts — import and program.addCommand()
  • Create src/__tests__/<name>.test.ts — follow existing test patterns
  • Add section to README.md under CLI Commands
  • Update NEXT-TASKS.md — check off the task

Rules

  • Match the exact patterns in existing commands (Commander.js, chalk, ora)
  • Follow existing test patterns (vitest, createTempDir, runCommand)
  • If the user asks a question, STOP and answer before continuing
  • Show git diff before committing. Wait for approval.

Arguments

$ARGUMENTS — the name and purpose of the new command

© cortex-tms, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/new-command of cortex-tms/cortex-tms.

Open the folder on GitHubat commit 2e7c79e

Compare with similar skills

New Command 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.

New Command compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Command this skillcortex-tms/cortex-tms180—~364Automated safety check: PassMIT
Gsd Inboxopen-gsd/gsd-core10k1 repos~389Automated safety check: NotesMIT
Add Integrationkdlbs/kandev909—~978Automated safety check: PassAGPL-3.0
Nx Generatenomcopter/react-mosaic4.8k7 repos~1.9kAutomated safety check: PassCustom licence
PonytailDavidObando/gsharp5658 repos~1.7kAutomated safety check: PassMIT
Run Nx Generatornrwl/nx29k2 repos~592Automated safety check: NotesMIT

Similar skills

  • Gsd Inbox

    open-gsd/gsd-core

    Triage and review open GitHub issues and PRs against project templates and contribution guidelines.

    10k GitHub starsUsed in 1 repo~389 tokens
    DevelopmentAuto-check: notes
  • Add Integration

    kdlbs/kandev

    Add a new third-party integration (Jira/Linear-style) — per-workspace credentials, 90s auth-health poller, settings page, link/import buttons.

    909 GitHub stars~978 tokensUpdated today
    DevelopmentAuto-check passed
  • Nx Generate

    nomcopter/react-mosaic

    Generate code using nx generators. An agent skill from nomcopter/react-mosaic.

    4.8k GitHub starsUsed in 7 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    565 GitHub starsUsed in 8 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Run Nx generators with prioritization for workspace-plugin generators.

    29k GitHub starsUsed in 2 repos~592 tokens
    DevelopmentAuto-check: notes
  • Conductor Setup

    gemini-cli-extensions/conductor

    Scaffolds the project and sets up the Conductor environment.

    3.8k GitHub stars~4.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from cortex-tms/cortex-tms

  • Plan

    cortex-tms/cortex-tms

    Research the codebase and create an implementation plan following Propose/Justify/Recommend.

    180 GitHub stars~388 tokensUpdated 3 days ago
    Auto-check passed
  • Release

    cortex-tms/cortex-tms

    Guide through the Cortex TMS release process — version bump, changelog, sync, tag, publish.

    180 GitHub stars~398 tokensUpdated 3 days ago
    Auto-check passed
  • Implement

    cortex-tms/cortex-tms

    Implement an approved plan. An agent skill from cortex-tms/cortex-tms.

    180 GitHub stars~342 tokensUpdated 3 days ago
    Auto-check passed
  • Sync

    cortex-tms/cortex-tms

    Synchronize task files and source-of-truth documents. An agent skill from cortex-tms/cortex-tms.

    180 GitHub stars~310 tokensUpdated 3 days ago
    Auto-check: notes
  • Validate

    cortex-tms/cortex-tms

    Run the full quality gate — tests, lint, build, and cortex-tms validate --strict.

    180 GitHub stars~178 tokensUpdated 3 days ago
    Auto-check: notes

Questions about New Command

What does New Command do?

Scaffold a new CLI command for Cortex TMS following the existing codebase patterns. New Command is an agent skill from cortex-tms/cortex-tms. Scaffold a new CLI command for Cortex TMS following the existing codebase patterns.

When should I use New Command?

New Command fits situations like: tasks that involve Project scaffolding.

How do I install New Command in Claude Code?

Run `npx skills add cortex-tms/cortex-tms --skill new-command -a claude-code`. Or copy the skill folder (.claude/skills/new-command in cortex-tms/cortex-tms) into .claude/skills/new-command in your project. Claude Code loads it when a task matches its description.

How do I install New Command in Codex?

Run `npx skills add cortex-tms/cortex-tms --skill new-command -a codex`. Or copy the skill folder (.claude/skills/new-command in cortex-tms/cortex-tms) into .agents/skills/new-command in your project. Codex loads it when a task matches its description.

Can I use New Command in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cortex-tms/cortex-tms --skill new-command -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-command, .gemini/skills/new-command, .github/skills/new-command and .opencode/skills/new-command in your project.

What does New Command need to run?

SKILL.md names no scripts, command-line tools or credentials: New Command is instructions for the agent only.

Does New Command access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is New Command safe to install?

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. Review the folder before installing.

What licence does New Command use?

New Command is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Command use?

About 364 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Command?

Skills that share tags, products or a category with New Command: Gsd Inbox (open-gsd/gsd-core, 10k stars), Add Integration (kdlbs/kandev, 909 stars), Nx Generate (nomcopter/react-mosaic, 4.8k stars) and Ponytail (DavidObando/gsharp, 565 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Command?

cortex-tms (a GitHub organization) maintains it in cortex-tms/cortex-tms, which has 180 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 5, 2026.

Source: cortex-tms/cortex-tms on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.