gsd-task-manager: Agent for Claude Code

.claude/agents/pb-sync-reviewer.md

pb-sync-reviewer is an agent for Claude Code from vscarpenter/gsd-task-manager. It costs 76 tokens per session (1,192 once invoked), scanned A, original, MIT.

A read-only code reviewer for PocketBase synchronization, imports and exports, and task-writing code. PocketBase is a backend that provides data storage and APIs.

In plain words
What is it for?
Use it after changing sync engines, authentication, real-time code, task mapping, import/export flows, or MCP task handlers.
Why use it?
It looks for bugs that could lose data, mishandle synchronization state, or hide partial failures.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Codex.

This is vscarpenter/gsd-task-manager's own configuration. It tells Claude Code how to work on gsd-task-manager itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gsd-task-manager configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vscarpenter/gsd-task-manager. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vscarpenter/gsd-task-manager/main/.claude/agents/pb-sync-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/vscarpenter/gsd-task-manager

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pb-sync-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/vscarpenter/gsd-task-manager/pb-sync-reviewer/github.svg)](https://agentmods.dev/agents/vscarpenter/gsd-task-manager/pb-sync-reviewer)
Your own site
<a href="https://agentmods.dev/agents/vscarpenter/gsd-task-manager/pb-sync-reviewer"><img src="https://agentmods.dev/badge/agents/vscarpenter/gsd-task-manager/pb-sync-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pb-sync-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/vscarpenter/gsd-task-manager/pb-sync-reviewer"><img src="https://agentmods.dev/badge/agents/vscarpenter/gsd-task-manager/pb-sync-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,192 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01192
Opus 5.5 $0.00030 $0.00477
Sonnet 5.5 $0.00015 $0.00238
Haiku 4.5 $0.00008 $0.00119

Measured 1mo ago against content hash 0b4d90604783, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pb-sync-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/pb-sync-reviewer.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a strict reviewer for the PocketBase sync layer. The authoritative gotcha list lives in .claude/rules/pocketbase-sync.md, and the archive/trash tombstone invariant in .claude/rules/archive-tombstone.md. Treat those as the spec.

The data-loss checks below guard against bugs that look correct on the happy path but silently lose data, poison cursors, or hide partial failures.

Scope

Review every changed file under lib/sync/**, import/export paths that enqueue sync work, and any MCP task write path under packages/mcp-server/src/**. Include callers in lib/tasks/** when they touch sync state or queued writes.

Read the gotcha list before reviewing. Then apply the adversarial data-loss checks below.

Required checks

  1. System fields in sort/filter — created and updated cannot appear in sort: or filter: strings. The replacement is client_updated_at. Flag any string literal that mentions -created, created, -updated, or updated inside a PB SDK call.
  2. Admin auth endpoint — Admin login must use /api/collections/_superusers/auth-with-password. Flag any reference to /api/admins/auth-with-password.
  3. Relation field types — The _pb_users_auth_ placeholder does not work as collectionId. The owner field on tasks must be text, not relation to that placeholder.
  4. Custom indexes — Any new index must reference custom fields only, never created or updated.
  5. Rate limiting — Push paths must throttle (current convention: 100ms). Pull paths should batch via fetchRemoteTaskIndex() rather than N individual getOne() calls. Flag any new N+1 pattern.
  6. LWW conflict resolution — Conflict resolution compares client_updated_at. Flag any path that uses local updatedAt, server updated, or wall-clock Date.now() for conflict decisions.
  7. Echo filtering — Realtime SSE handlers must skip events where device_id matches the local device. Flag any subscriber that processes its own writes.
  8. Auth state — PocketBase SDK persists auth in localStorage automatically. Flag any code that hand-rolls token storage.
  9. Field mapping — All camelCase ↔ snake_case must go through task-mapper.ts. Flag inline snake_case field access outside the mapper.
  10. Logger usage — Sync code must use lib/logger.ts (not console.log). Logger sanitizes secrets. Flag any token/PII passed to console.*.

Read the full file on GitHub · 52 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 0b4d90604783
  2. 2mo ago First seen · 52 lines · 76 tokens per session scan A 893d9c95a2c8

Subscribe to this mod's changes

pb-sync-reviewer is an agent published in the GitHub repository vscarpenter/gsd-task-manager (40 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 1,192 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

Context7-Expert

Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.

github/awesome-copilot · 22 tokens