Skip to content
Skills Library
AI & agents · Building & coding

project-cli

/project-cli

Set up, maintain, or improve a repository-specific CLI for coding agents. Use to turn repeated project lookups and workflows into commands, mine project sessions for candidates, or measure an existing agent CLI's usefulness. Ordinary CLI product development is outside this skill.

Licence
MIT
Last repository change
11.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
6
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Set up, maintain, or improve a repository-specific CLI for coding agents. Use to turn repeated project lookups and workflows into commands, mine project sessions for candidates, or measure an existing agent CLI's usefulness. Ordinary CLI product development is outside this skill.

Original author description

Set up, maintain, or improve a repository-specific CLI for coding agents. Use to turn repeated project lookups and workflows into commands, mine project sessions for candidates, or measure an existing agent CLI's usefulness. Ordinary CLI product development is outside this skill.

How it works

  1. Choose the work
  2. Find useful commands
  3. Build or change the CLI
  4. Make it discoverable
  5. Measure and keep it useful
  6. Deliver
Original SKILL.md headings · 53 lines, 778 words
SKILL.md preview
---
name: project-cli
license: MIT
description: "Set up, maintain, or improve a repository-specific CLI for coding agents. Use to turn repeated project lookups and workflows into commands, mine project sessions for candidates, or measure an existing agent CLI's usefulness. Ordinary CLI product development is outside this skill."
---

# Project CLI

Make repeated project work cheap to discover, execute, and verify through a small CLI owned by the project.

## Choose the work

Inspect the project's instructions, existing CLI and scripts, runtime, and source of truth before proposing commands. Extend an established CLI when it already serves this purpose. When a task runner such as a Makefile, justfile, or package scripts already gives agents a discoverable entry point, extending it may be enough; a new binary is not the goal. Use `./bin/agent-cli` only as a default for a new CLI; keep the project's language, naming, and dependency conventions.

Match the user's request:

- **Set up:** identify useful recurring tasks, implement a small first slice, and make the agent discover it.
- **Maintain:** fix a broken or stale command, its output, or its integration. Stay focused on that defect; a full transcript scan is unnecessary.
- **Improve:** investigate repeated work, failed CLI attempts, verbosity, and usage; change commands based on that evidence and compare outcomes.

A short discovery pass is enough for a clear request. Do not require transcripts or a benchmark before fixing a known problem. If history is unavailable, derive explicitly labelled candidates from current project tooling and the user's examples, then continue.

## Find useful commands

For session mining or command selection, read [discovery.md](references/discovery.md). Report the project, date window, sessions covered, and gaps. Keep transcripts local and extract compact, sanitised evidence instead of loading entire histories.

Separate repeated *tasks* from repeated strings. A frequent `cat`, `rg`, or failing command does not automatically deserve a wrapper. Prefer a command that answers the underlying question or runs the correct project workflow. Keep preferences and prohibitions in agent instructions.

Rank candidates by recurrence across sessions, cost, failure rate, and maintenance burden. An `orient` command often helps, but include it only when project discovery is a real need. Choose a coherent first slice rather than a prescribed number of commands.

## Build or change the CLI

Read [contract.md](references/contract.md) for output, errors, help, safety, and validation. Use the existing runtime and standard library or dependencies already present. Avoid adding a framework or generated abstraction without a concrete project need.

Compute answers from maintained project sources at invocation time. Reuse authoritative scripts rather than duplicating their configuration. Keep curated explanations small and tie them to explicit files so drift can be detected. Never present an old summary as current repository state.

Start new CLIs with read-only lookups unless the user requests execution or writes. Test runners, builds, network calls, and service startup have side effects even when they do not edit source. For an existing CLI, preserve its supported operations and safety controls. Authoring a write command does not authorise running it against live systems.

Use a few meaningful checks to verify the changed contract: execution without local state beyond the files this change adds, relevant help paths, parsed JSON, error and exit status, underlying command failure, and source changes reflected in output. Check only the applicable behaviours; do not run a whole project suite for a small wrapper change.

## Make it discoverable

Add or refine a short instruction in the file the project's agents actually read, preserving its ownership and symlink conventions. For example, adapting the path and command names:

> For project lookups and workflows, use `./bin/agent-cli`: `orient` for layout and commands, `tests run <target>` for focused tests, and `--help` for the rest. Fall back to the underlying tools when no command fits, and report missing or stale answers.

Do not duplicate an instruction across files that already include or link to each other. Name only the few commands agents need most so they can skip a help round trip; keep the full catalogue in CLI help, loaded on demand. Avoid forcing a redundant CLI call before unrelated work or a command the agent already knows.

## Measure and keep it useful

For measurement or ongoing improvement, read [measurement.md](references/measurement.md). Compare the same task and correctness as well as cost. Report unavailable metrics as unavailable; never claim savings from an estimate or a differently scoped run.

Use new sessions to spot missing commands, incorrect flag guesses, retries, bypasses, and excessive output. Fix the command or its discoverability before adding louder instructions. Suggest a review cadence only when useful; do not schedule recurring jobs without a request. Check coverage and callers before deprecating an apparently unused command.

## Deliver

Report what changed, the evidence behind command choices, the checks run, and any measured comparison or remaining gaps. Keep raw transcripts, credentials, private payloads, and local evidence paths out of committed files and shared reports. Follow the user's existing commit, push, and publication boundaries; this skill supplies no additional authority.
Files in this package (6)
  • LICENSE.txt 1 KB
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB
  • references/contract.md 6 KB
  • references/discovery.md 5 KB
  • references/measurement.md 3 KB

Versions

The database has no other skills named project-cli.

Database snapshot: 13.11.2026 · package version ec752e4294cb (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100install-agents
    Use when the user wants to install or update the agents of this repository into Claude Code, Codex, Gemini CLI or Copilot CLI (user-level or in one project).
  • 100context7-cli
    Use the ctx7 CLI to fetch library documentation and configure Context7 MCP. Activate when the user mentions "ctx7" or "context7", needs current docs for any library, or needs to set up Context7 for their AI coding agent.
  • 95ai-coding-agents
    Comprehensive guide for using Codex CLI (OpenAI) and Claude Code CLI (Anthropic) - AI-powered coding agents. Use when orchestrating CLI commands, automating tasks, configuring agents, or troubleshooting issues.
  • 100improve-agent-native
    Check if a repository or agent-facing product surface is ready for AI coding agents. Use when you need to audit repo agent compatibility, review AGENTS.md, find missing test/build commands, evaluate docs quality, assess tool/action parity, or produce a file-evidence scorecard with specific fixes.
  • 100agents-md-author
    Bootstrap or update project AI-agent instruction files (AGENTS.md for Codex, CLAUDE.md for Claude Code, or both) from the current project's structure. Triggers on: write AGENTS.md, write CLAUDE.md, generate AGENTS.md, agent instructions, project conventions for AI, bootstrap…
  • 100setting-up-a-project
    Use when setting up a new project for coding agents, when a repo has no CLAUDE.md or AGENTS.md, or when starting work on an empty codebase - surveys the repo, interviews the user, and authors CLAUDE.md plus an AGENTS.md tuned for Codex CLI, OpenCode, and Cursor, covering project…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.