cli: Skill for Claude Code

.claude/skills/cli-command-create/SKILL.md

cli-command-create is a skill for Claude Code from prolific-oss/cli. It costs 20 tokens per session (1,408 once invoked), scanned A, original, Apache-2.0.

A guided workflow for creating a new command-line interface command for the Prolific CLI, a tool for using the Prolific research platform from a terminal.

In plain words
What is it for?
Use it to add list, view, create, update, or action commands to the Prolific CLI.
Why use it?
It turns the required planning and implementation details into a consistent process, including the Jira ticket, resource, command, and command type.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: names the AskUserQuestion tool.

This is prolific-oss/cli's own configuration. It tells Claude Code how to work on cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to prolific-oss/cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/prolific-oss/cli/main/.claude/skills/cli-command-create/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/prolific-oss/cli

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-command-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/prolific-oss/cli/cli-command-create/github.svg)](https://agentmods.dev/skills/prolific-oss/cli/cli-command-create)
Your own site
<a href="https://agentmods.dev/skills/prolific-oss/cli/cli-command-create"><img src="https://agentmods.dev/badge/skills/prolific-oss/cli/cli-command-create/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-command-create

Your own site · 80×15
<a href="https://agentmods.dev/skills/prolific-oss/cli/cli-command-create"><img src="https://agentmods.dev/badge/skills/prolific-oss/cli/cli-command-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,408 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.01408
Opus 5.5 $0.00008 $0.00563
Sonnet 5.5 $0.00004 $0.00282
Haiku 4.5 $0.00002 $0.00141

Measured 1mo ago against content hash afc76b7c5f46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-command-create scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/cli-command-create/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLI Command Creator

When to Use This Skill

Invoke this skill when the user:

  • Asks to "create a command", "add a command", or "implement a command" for the CLI
  • Mentions adding new CLI functionality (e.g., "create me a command that publishes collections")
  • Uses the slash command /cli-command-create

Create a new CLI command for the Prolific CLI from start to finish.

Arguments

Arguments may be provided via $ARGUMENTS or gathered interactively.

Expected arguments:

  • ticket - Jira ticket number (e.g., DCP-2154)
  • resource - Resource name (e.g., collection, study, workspace)
  • command - Command name (e.g., list, get, create, update)
  • command-type - Optional: LIST | VIEW | CREATE | UPDATE | ACTION (will infer if not provided)

If arguments are missing or $ARGUMENTS is empty, use the AskUserQuestion tool to gather them:

  1. First ask for the Jira ticket number (e.g., "DCP-2154")
  2. Then ask for the resource name (e.g., "collection", "study", "workspace")
  3. Then ask for the command name (e.g., "list", "get", "create", "publish")
  4. Finally ask for the command type with options: LIST, VIEW, CREATE, UPDATE, ACTION (or let Claude infer from the command name)

Phase 1: Gather Requirements

1.1 Understand the API Contract

Ask the user to provide ONE of:

  • Bruno file path - e.g., path/to/request.bru
  • Inline API contract - endpoint, request/response examples, error codes

Also ask if they have any acceptance criteria (optional):

  • Feature requirements or user stories
  • Expected behavior descriptions
  • Edge cases to handle

1.2 Determine Command Type

If not provided, infer from command name:

  • list → LIST (paginated results, multiple renderers)
  • get, view → VIEW (single resource, one renderer)
  • create → CREATE (accepts template file)
  • update → UPDATE (modifies existing resource)
  • Other → ACTION (state transitions, operations)

1.3 Identify Required Flags

Based on command type, confirm which flags are needed:

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 175 lines · 20 tokens per session scan A afc76b7c5f46

Subscribe to this mod's changes

cli-command-create is a skill published in the GitHub repository prolific-oss/cli (14 stars, last pushed 2d ago), licensed Apache-2.0. It adds 20 tokens to every session and 1,408 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.