iamcxa/kc-claude-plugins/observer

Claude Code and agent skill by iamcxa/kc-claude-plugins

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Independently read what the First Officer wrote into one task's state against the workflow rules it owns, and report each finding with the quoted rule and quoted evidence. Use at task archive through the learn extension, or when a maintainer reads an adopter's first task after a release; not a stage review and not a repair.

Install

npx vskill@latest install iamcxa/kc-claude-plugins/observer

SKILL.md

The same SKILL.md was published earlier as iamcxa/kc-claude-plugins/observer.

Observer

Invocation: kc-dev-flow-2:observer

Package root: ${CLAUDE_PLUGIN_ROOT} <package> in this skill is this root. If the value above is not an absolute path, the root is two directories above this SKILL.md.

Validation checks the workers' output; nothing checks what the First Officer (FO) writes into task state. You read those writes as someone who was not there. The caller supplies only these inputs, never its own account of the task:

  • STATE: the state checkout; TASK: the task slug; RULES: the adopted workflow README.
  • FROM and TO: state commits bounding the window. When not given, FROM is the

commit that added the task file and TO is the state checkout's HEAD.

Read

  1. git -C STATE log --format='%h %ad %s' --date=iso FROM..TO -- <task file> <task dir>

and the diff over the same range. Read the task at TO only around changed hunks. For an archived task give git both path pairs, <TASK>.md <TASK> and _archive/<TASK>.md _archive/<TASK>, and take FROM from the commit that added <TASK>.md; the archive commit alone leaves a window of one commit.

  1. python3 <package>/scripts/decision_ledger.py STATE, keeping the rows for TASK:

each gate ruling with its question, who recorded it, its grant and any Override:.

  1. From RULES collect every sentence whose subject is FO ("FO records", "FO appends",

"FO declines", "FO reserves", "FO names", "FO counts", "FO applies") and that applied in this window. Quote each with its section heading.

Check at least: a Captain ruling quotes his words and answers a question put before it; an approval read as accepting a recommendation has that sentence in its question; a decision by agent:first-officer carries the grant it relies on; an Override: line exists where his choice differs from the stated recommendation; a Precedent: names an ADR and quotes its Words line, or its decision sentence when marked (no Words line), and is not one of the always-asked kinds; amendments and Asked: lines follow ## Captain amendments; declines follow step 5 of review findings. Where RULES list peers under extensions:, also check that no Captain ruling in the task quotes a peer's words, or a peer's report of the Captain, in place of his own; a ruling he made in his own words after reading peer data is his. An exchange the file does not record is outside what state shows.

For every person:captain gate resolution (backlog, ideation and validation), compare its reason with its bound question using decision_ledger.quotes_bound_question: answering 「 + the whole question + 」 must occur in the reason after removing all whitespace from both strings; use a substring, since questions can contain nested 「」. Report ok quoting both texts' first words when a quote matches, violation when the reason quotes text and none matches, and can't tell when the reason quotes nothing (the chat is outside state). A missing bound question is can't tell. These rows check the recorded ask, not what the Captain read; backlog and ideation mismatches add no dispatch hold.

Replay the design check. For each backlog and ideation briefing, take the sha in its artifact uri (git-root://state/<sha>/<TASK>.md), extract <TASK>.md and, when it exists at that sha, <TASK>/ with git archive into a new empty temporary directory, and run python3 <package>/scripts/design_surfaces.py check [--seed, for backlog] <that copy of <TASK>.md>. Report "FO runs python3 <package>/scripts/design_surfaces.py check" as ok on exit 0, and as violation quoting its first line on exit 1. For seed-field failures or design needs '### Worth questions' on historical copies, report current-schema incompatibility. Call it a historical violation only if the event-time README required the same form; without that README, report can't tell.

For each validation briefing whose question names --match-head-commit <sha>, find a context Reference whose uri ends /merge/ask-<N>.json. Read its git-root://state/<commit>/<path> with git -C STATE show <commit>:<path>: report "FO runs python3 <package>/scripts/delivery_gate.py check before the merge ask" as ok when its shasum -a 256 equals rev (after sha256:), head starts with <sha>, and sufficiency and necessity equal the first 200 cleaned characters of the briefing question-plus-summary clauses (as delivery_gate.clean and clause read them). Quote the Reference id, time and head; a failed comparison is violation. With no Reference, report violation when RULES at the briefing commit say gate prepare takes --reference <check record>. Otherwise keep the older time comparison: read the highest-numbered ask file at that head whose time is not after the commit that added the briefing; report ok, quoting time and head. When all files are later, report can't tell, quoting the earliest time and briefing commit time; with no file, report can't tell. Report "FO confirms both goal sufficiency and minimal necessity" from the same file: ok quoting sufficiency and necessity; can't tell when it holds neither key, which predates that check.

Run python3 <package>/scripts/merge_audit.py STATE TASK --from FROM --rev TO without a pipe. Save its own exit status immediately, before any display command, and report that status under Coverage. If piping is necessary, capture Bash's PIPESTATUS[0] immediately; a final pipeline $? does not establish the audit's status. Include the carried: line as its own ok row. Report named release:, sync:, learning: and already reported: lists as observed (omit empty lists), head differs: as violation, and no ask record: as can't tell. From Delivery authority quote the merge rule's clause beginning "merging the full head" through "set to it" (containing --match-head-commit). Quote each finding's <kind>: #<N> head <12 hex> verbatim so later reports collapse repeats. Exit 2 means can't tell: quote its cause. Under Coverage say once that missing records may mean chat approval or state outside this repository; include fetch warnings. Use these standalone rows, filling each evidence slot from the audit output: ok | rule: "<full Delivery authority clause>" (Delivery authority) | evidence: "<carried line>" (gh pr list, state refs). observed | <kind> PRs carry no task ask | evidence: "<line>" (gh pr list). For each no-ask finding copy this line, substituting only its evidence slot: can't tell | rule: "merging the full head" (Delivery authority) | evidence: "<entire audit finding line>" (gh pr list, state refs). For repeats use observed | already in an earlier observer report | evidence: "<numbers>".

Do not report these rules. Their only witness is the Captain's chat or a shell run that leaves no record, so the report would only say can't tell:

<!-- chat-only-rules -->

  • a claim carries the same source after the sentence that answers him
  • FO answers a question the Captain asks at a gate
  • python3 <package>/scripts/package_version.py
  • python3 <package>/scripts/workflow_checkout.py
  • --names --strict <record>
  • assess the four evidence fields above

<!-- /chat-only-rules -->

A rule outside this list that you cannot judge stays can't tell.

For a task whose Surfaces: include db, whose ideation ran on a stronger model, or whose validation was sent back twice, report whether a Reviewer: line exists. That line is a record, not a requirement: report it as observed, never as a violation. Separately, run python3 <package>/scripts/role_triggers.py STATE TASK --rev TO and report each next: line it prints as violation, quoting that line.

Prove each finding

Before reporting a finding, find its evidence quote with git -C STATE show TO:<path>, git grep or the ledger output, and drop it if the quote is not there. A rule that did not apply in the window is not listed. Decide the verdict word last, from the evidence you wrote.

Return (under 500 words)

One line per finding: <violation|ok|can't tell|observed> | rule: "<quoted rule>" (<section>) | evidence: "<quoted line or 'absent'>" (<commit>)

can't tell names the evidence that is outside state (chat, a PR, a database). Then Coverage: what you read fully, what you sampled, and each rule you could not evaluate.

Boundaries

Read-only: no edit, commit, push, comment or message. Do not judge product content, design quality or worker reports, and do not propose a repair. The caller passes the report on unedited; whoever owns the task answers it.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/iamcxa/kc-claude-plugins/observer/badge)](https://verified-skill.com/skills/iamcxa/kc-claude-plugins/observer)

Something wrong with this skill or its page? Tell us.