Running skills in claude -p or CI: which ones stop to ask - Agent Skills
SponsoredSkillry: Agent Skills with taste. Designed and tested in-house, so one prompt gives you polished slides, web pages and launch videos.Skillry: Agent Skills with taste Try free Skills
Agent Skills
  • Skills
  • Picks
  • ShopSoon
  • Solutions
  • Specification
  • Submit
Agent Skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates

Agent Skills

Discover and share powerful Agent Skills for AI assistants

GitHubX (Twitter)
Skills
  • View All
  • Install Guide
  • Documentation
  • Solutions
  • Product Launch Video
  • Submit
Tools
  • Claude Code
  • Cursor
  • OpenCode
  • Codex CLI
  • Gemini CLI
Resources
  • anthropics/skills
  • awesome-claude-skills
  • vercel-labs/agent-skills
  • kepano/obsidian-skills
Company
  • About
  • Blog
  • Authors
  • Changelog
  • Privacy Policy
  • Terms of Service

Sponsored by Vectrust @ OpenDev Org & NextRouter Alliance

© 2026 EvergreenAI. Built with JimmyLv
All articles

Running skills in claude -p or CI: which ones stop to ask

Some skills are built to ask questions before they act. In a one-shot headless run that means you get a question back, not a document. Notes from 47 runs on what to expect.

By Jimmy Lv · 2026-11-25 · Every number here comes from a real run, linked to its field note.

All 47 of our test runs were headless: claude -p with one prompt and no chance to reply. That is how skills run in CI, cron jobs and scripts. It is also where a skill designed for conversation behaves differently from what its README promises.

Skills that return a question, by design

  • brainstorming: asked one question back after 16 seconds ("what should the email do for the reader?"). The skill tells Claude to ask one question at a time before proposing anything.
  • prd: asked a round of lettered clarifying questions after 22 seconds. No PRD was written. Answer them and run again.

Both were among the four fastest runs in the batch. A short run time on a big request is a sign you got questions, not work.

Terminal log of the run, rendered from Claude Code's stream-json output. Long steps are trimmed.
The prd run log. The run ends with lettered questions, not a document. Full field note

Skills that are supposed to wait, but did not

file-organizer was told to show the plan before moving anything. It moved the 12 files first, then opened its reply by admitting it. Nothing was deleted, it used mv -n and wrote a move log, so it was reversible. Do not rely on its plan-first step in an unattended job.

Skills that quietly skip a mode

  • design-motion-principles has an audit mode that asks you to pick a design direction and writes an HTML report. Our prompt said fix in place, so Claude skipped both and said so. Ask for the report explicitly if you want it.
  • docs-writer wrote the quickstart but asked before rewriting install.md. In a headless run the rewrite simply does not happen.
  • commit-work left .env and a scratch demo.js uncommitted on purpose. Good for safety, surprising if a script expects a clean tree afterwards.

Skills that are safe to run unattended

These finished the job and verified it inside the same run, with the check reproduced by us afterwards where marked re-checked on the skill page:

SkillSelf-check in the runSeconds
fastapi-templatesuv run pytest: 12 passed118
nuxtnuxi build, then fetched /api/hello from the built server63
golang-progo vet and go test -race in docker84
database-designTried two bad inserts, both rejected99
docker-expertRebuilt to prove cache layers; 1.7 GB to 217 MB169
typescript--extendedDiagnostics before and after41
pdfRead the text back out of the new PDF51

Practical settings

  • Put a time limit on the job. One run (marp-slide) waited on a hung child process until our 20 minute cap. Without the cap it would have run until the CI job timed out.
  • Fail the job on a run that is suspiciously short for the task, or grep the result for a question mark at the end.
  • If the skill must load, call it as /skill-name in the prompt. 8 of 47 did not load from a plain prompt. See which skills load on their own.
  • Keep project settings only (we used that) so a personal skill or hook on the CI machine does not change the result.

How we test, and on what machine: about the author and the method.

More from the field notes

  • 47 headless runs: which Agent Skills Claude loads on its own
  • Eight bugs we found inside popular Agent Skills
  • How long a skill run takes, and when the slow ones are worth it
  • Before you install React performance skills, check these three things