Skip to content

docs: add pass-cli agent skill and track .claude/skills - #101

Merged
arimxyer merged 1 commit into
mainfrom
docs/pass-cli-agent-skill
Jun 26, 2026
Merged

docs: add pass-cli agent skill and track .claude/skills#101
arimxyer merged 1 commit into
mainfrom
docs/pass-cli-agent-skill

Conversation

@arimxyer

Copy link
Copy Markdown
Collaborator

What

Adds a committed agent skill so AI agents that work in this repo know how to
drive pass-cli safely, and tracks .claude/skills so skills ship with the
repo.

  • .claude/skills/pass-cli/SKILL.md — the skill. Its decision model: default
    to pass-cli exec for handing a secret to a child process (value never touches
    stdout/clipboard/history), use pass-cli list -q for safe discovery, and treat
    pass-cli get --quiet as a last resort with an explicit leak-trap warning.
    Documents exec end-to-end: --set ENV=service[:field], the convenience form,
    -f/--field, the -- separator, exit-code propagation, and that exec is
    read-only (no usage write, no sync push).
  • .gitignore — un-ignores .claude/skills (the comment now notes it's
    intentionally tracked). settings.local.json and hookify.*.local.md stay
    local-only.

Verification

The documented flag surface was checked against source, not recalled:

  • exec --set/-f/service:field/--cmd/exec.go
  • list -q / --show-usernames / username-hidden default → cmd/list.go
  • get --quiet / --no-clipboardcmd/get.go

No code changes; this is docs + a .gitignore line.


🤖 Generated with Claude Code

Adds a committed agent skill at .claude/skills/pass-cli/SKILL.md so AI agents
that clone this repo know how to drive pass-cli safely — defaulting to `exec`
for handing secrets to child processes, using the safe-by-default `list -q`,
and avoiding the get/command-substitution leak traps. The flag surface in the
skill is verified against cmd/exec.go, cmd/list.go, and cmd/get.go.

Un-ignores .claude/skills in .gitignore so skills ship with the repo and are
reachable by every agent; settings.local.json and hookify files stay local.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019sxsM218vNzDbuMZ2nhMzx
arimxyer added a commit that referenced this pull request Jun 26, 2026
…105)

The branch ruleset requires Lint, Unit Tests, Build, and Integration Tests
(x3) on every PR. The jobs in ci.yml already short-circuit to success via
their "Skip if no code changes" steps (gated on the check-changes filter),
so non-code PRs are meant to satisfy the required checks in seconds.

But a workflow-level `pull_request: paths-ignore` (**.md, docs/**, .gitignore,
...) suppressed the entire workflow for docs/skill/gitignore-only PRs — so the
required checks never reported and those PRs were blocked forever (e.g. #101,
the agent-skill PR, which touches only .gitignore + SKILL.md).

Remove the pull_request paths-ignore so the workflow always runs on PRs;
check-changes + the per-job skip steps still make non-code PRs go green
quickly. The push paths-ignore is left as-is (post-merge main CI is not a
required gate).


Claude-Session: https://claude.ai/code/session_019sxsM218vNzDbuMZ2nhMzx

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@arimxyer arimxyer closed this Jun 26, 2026
@arimxyer arimxyer reopened this Jun 26, 2026
@arimxyer
arimxyer merged commit a66c6b8 into main Jun 26, 2026
7 checks passed
@arimxyer
arimxyer deleted the docs/pass-cli-agent-skill branch June 26, 2026 22:00
arimxyer added a commit that referenced this pull request Jun 27, 2026
…#111)

Two user-facing changes shipped without docs and are now covered ahead of
the 0.18.0 release:

- exec (#98): new command reference entry, and scripting-guide rewritten to
  lead with `pass-cli exec` as the recommended way to hand a credential to a
  child command (env injection, never touches files/clipboard/history). The
  old `$(pass-cli get ...)` substitution is kept as a documented fallback with
  an explicit shell-tracing/CI-log leak caveat. README gains exec examples.
- list safe-by-default (#95, #97): documented that the table now hides the
  Username column by default, plus the new --show-usernames and -q/--quiet
  flags, across command-reference, scripting-guide, and README.

Also:
- CHANGELOG: populate the long-stale [Unreleased] (top entry was 0.17.2) with
  everything since — exec, list-safe, sync content-hash markers (#102),
  unlock-latency overlap (#103), startup-latency cleanup (#104), tracked
  mise.toml (#100), CI-on-all-PRs (#105), agent skill (#101) — and head it as
  [0.18.0].
- CLAUDE.md: refresh the Sync Architecture notes for the #102 marker-based
  change detection and the #103 overlapped pre-unlock pull.

No code changed.


Claude-Session: https://claude.ai/code/session_019sxsM218vNzDbuMZ2nhMzx

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant