Agent skill

Reflect

by uzairansaruzi in uzairansaruzi/p3-stack

Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill.

MITAuto-check passed

Install Reflect

skills CLI
$ npx skills add uzairansaruzi/p3-stack --skill reflect -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install uzairansaruzi/p3-stack reflect --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/uzairansaruzi/p3-stack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/reflect .claude/skills/reflect && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
reflect
GitHub stars
143
Token cost
~1k tokens
SKILL.md length
530 words
Files
5 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill.

  • Works in 6 steps: Locate the active transcript → Delegate three reviewers in parallel → Synthesize → …
  • The user says reflect
  • SKILL.md covers When to invoke and Process
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Reflect is an agent skill from uzairansaruzi/p3-stack. Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/divergent-reviewer.md`, `references/judgment-reviewer.md` and `references/synthesizer.md`).

The repository describes itself as: pstack reworked for T3 Code: delegated subagents, worktree threads, PR watching, scheduled runs. The licence is MIT.

When your agent uses it

  • The user says reflect

Example prompts

  • “/reflect”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Locate the active transcript
  2. Delegate three reviewers in parallel
  3. Synthesize
  4. Structural enforcement check
  5. Apply
  6. Summarize for the user

What it can do on your machine

Read from SKILL.md and the folder at commit 09909eb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Reflect loads about 1k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 530 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from uzairansaruzi/p3-stack at commit 09909eb, republished under its MIT licence (© uzairansaruzi). 530 words, ~1,027 tokens.

Download SKILL.mdSave it as .claude/skills/reflect/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
reflect
description
Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.
disable-model-invocation
true

Reflect

Mine the current conversation for durable learnings, then route them into skill edits.

When to invoke

Invoke when the user says "reflect" or "/reflect". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.

Process

1. Locate the active transcript

The transcript is the current T3 thread. Read it with t3_thread_read; use t3_thread_search to pull exact passages. Do not search across other threads. That crosses workspace boundaries and reads private chats from unrelated projects.

Reviewers get only their brief, never the parent's context. Pass the thread id and tell them to read it with t3_thread_read, or write a tight digest of the session and pass that instead.

2. Delegate three reviewers in parallel

One turn, three delegate_task calls with mode: "async". Reviewers need tool access for context lookups (tickets, chat threads, observability traces referenced in the transcript), so do not restrict their tools.

Resolve each model from the role line in p3-models.md via orchestrator_capabilities. Never hardcode a slug.

LensRole linePrompt template
Judgmentreflect judgment, divergent, synthesizerreferences/judgment-reviewer.md
Toolingreflect toolingreferences/tooling-reviewer.md
Divergentreflect judgment, divergent, synthesizerreferences/divergent-reviewer.md

Pass each template verbatim as the brief, substituting the thread id or digest where marked. Drain with task_status; reviewers return findings in their task result.

3. Synthesize

One delegate_task call, model from the reflect judgment, divergent, synthesizer line. The synthesizer's quality check includes spot-verifying citations, which can require tool access. Use references/synthesizer.md verbatim as the brief, with each reviewer's full output inlined where marked. The synthesizer returns a structured Accepted / Rejected / Backlog list.

4. Structural enforcement check

Sanity-check the synthesizer's Accepted list. For any item that would be enforced more reliably by a lint rule, script, metadata flag, or runtime check, move it from Accepted to Backlog. See the encode-lessons-in-structure principle skill.

Show full SKILL.md (226 more words)Show less
5. Apply

Before applying any Accepted edit, present the synthesizer's full Accepted/Rejected/Backlog output to the user and wait for explicit approval. The user picks which subset to apply and may redirect routings. Skill changes affect every future agent in the org. Do not auto-apply.

Backlog items file to whatever devex / backlog tracker your team uses automatically. Only the Accepted list waits for approval.

For each approved Accepted item, follow the Routing field exactly:

  • Trivial existing-skill edit (a one-line bullet, a tightened sentence, a stale fact corrected): parent does directly.
  • Substantive existing-skill edit (a new section, a new pattern table, more than ~10 lines): follow the authoring-a-skill playbook and run its draft / test / iterate loop.
  • tune description: <skill path> (the skill exists but didn't trigger when it should have): follow the authoring-a-skill playbook and run its description-optimization loop.
  • new skill via authoring-a-skill: <kebab-name>: hand creation to the authoring-a-skill playbook. Do not invent the shape ad hoc.

If your environment ships a SKILL.md validator, run it on every touched skill before declaring done. Skip this step if it doesn't.

6. Summarize for the user

Short list, no preamble:

  • Edits applied: <skill path>. What changed, one line each.
  • New skills created: <skill path>. One line each (rare).
  • Backlog filed to the devex tracker: <issue title> (<tags>). One line each.
  • Dropped: one line per rejected finding + reason from the synthesizer.

© uzairansaruzi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/reflect of uzairansaruzi/p3-stack.

  • SKILL.md
  • references/divergent-reviewer.md
  • references/judgment-reviewer.md
  • references/synthesizer.md
  • references/tooling-reviewer.md

Open the folder on GitHubat commit 09909eb

Compare with similar skills

Reflect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Reflect compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reflect this skilluzairansaruzi/p3-stack143—~1kAutomated safety check: PassMIT
Open Code Review Delegatealibaba/open-code-review46k—~2.3kAutomated safety check: PassApache-2.0
Review Codepenpot/penpot61k—~1kAutomated safety check: PassMPL-2.0
Review Pending PR Reviewsnrwl/nx29k—~3.9kAutomated safety check: PassMIT
Parallel Adversarial Change Reviewben-manes/caffeine18k—~1.9kAutomated safety check: NotesApache-2.0
Reviewthedaviddias/Front-End-Checklist74k—~556Automated safety check: PassMIT

Similar skills

  • Open Code Review Delegate

    alibaba/open-code-review

    Has the host agent do the code review itself while the ocr CLI handles file selection and rule lookup, covering workspace changes, branch ranges or single commits.

    46k GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Review Code

    penpot/penpot

    Code review flow — review a diff, PR, or code change, delegating the review to a subagent that follows the code-review-criteria skill.

    61k GitHub stars~1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Review, grill, edit, and post pending PR review drafts saved by /review-pr (or its batch/cron runners).

    29k GitHub stars~3.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Runs three parallel reviewers on a diff or branch, one blind, one design-aware and one matching past bug patterns, then triages their findings.

    18k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check: notes
  • Review

    thedaviddias/Front-End-Checklist

    A skill your agent uses when applies to product pages, local business pages, recipes, apps, books, and any page that aggregates user reviews.

    74k GitHub stars~556 tokensUpdated 5 days ago
    Marketing & SEOAuto-check passed
  • API Surface Review

    polarsource/polar

    Review changes to Polar's API contract — Pydantic schemas, FastAPI endpoints, OpenAPI output and the generated SDKs.

    10k GitHub stars~1.3k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from uzairansaruzi/p3-stack

  • Setup P3

    uzairansaruzi/p3-stack

    Configure which models p3-stack uses per role and at what reasoning budget.

    143 GitHub stars~1.5k tokensUpdated 6 days ago
    Auto-check passed
  • P3 Help

    uzairansaruzi/p3-stack

    Guides users through p3-stack setup, /p3-mode, and picking the skill, playbook, or principle for a task.

    143 GitHub stars~2.7k tokensUpdated 6 days ago
    Auto-check passed
  • P3 Mode

    uzairansaruzi/p3-stack

    p3 agent style for concise, detailed responses, deliberate delegation, unslopped prose, simple code, and verified work.

    143 GitHub stars~5.2k tokensUpdated 6 days ago
    Auto-check passed

Questions about Reflect

What does Reflect do?

Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill. Reflect is an agent skill from uzairansaruzi/p3-stack. Delegate three parallel reviewers over the active thread, surface learnings, and route each to a concrete edit on an existing skill.

When should I use Reflect?

Reflect fits situations like: the user says reflect.

How do I install Reflect in Claude Code?

Run `npx skills add uzairansaruzi/p3-stack --skill reflect -a claude-code`. Or copy the skill folder (skills/reflect in uzairansaruzi/p3-stack) into .claude/skills/reflect in your project. Claude Code loads it when a task matches its description.

How do I install Reflect in Codex?

Run `npx skills add uzairansaruzi/p3-stack --skill reflect -a codex`. Or copy the skill folder (skills/reflect in uzairansaruzi/p3-stack) into .agents/skills/reflect in your project. Codex loads it when a task matches its description.

Can I use Reflect in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add uzairansaruzi/p3-stack --skill reflect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reflect, .gemini/skills/reflect, .github/skills/reflect and .opencode/skills/reflect in your project.

What does Reflect need to run?

SKILL.md names no scripts, command-line tools or credentials: Reflect is instructions for the agent only.

Does Reflect access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Reflect safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Reflect use?

Reflect is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Reflect use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4k tokens, read only when the agent opens those files.

What are the alternatives to Reflect?

Skills that share tags, products or a category with Reflect: Open Code Review Delegate (alibaba/open-code-review, 46k stars), Review Code (penpot/penpot, 61k stars), Review Pending PR Reviews (nrwl/nx, 29k stars) and Parallel Adversarial Change Review (ben-manes/caffeine, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reflect?

uzairansaruzi (a GitHub user) maintains it in uzairansaruzi/p3-stack, which has 143 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

Source: uzairansaruzi/p3-stack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.