ccpocket: Skill for Claude Code

.claude/skills/self-review/SKILL.md

self-review is a skill for Claude Code from K9i-0/ccpocket. It costs 33 tokens per session (670 once invoked), scanned A, original, MIT.

A procedure for reviewing code changes before declaring a task finished.

In plain words
What is it for?
It helps collect Git diffs, review small changes directly, send larger changes for another code review, and repeat the process after serious findings.
Why use it?
It helps catch problems in the changed files and decides whether the work can pass, needs minor warnings, or requires fixes.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is K9i-0/ccpocket's own configuration. It tells Claude Code how to work on ccpocket 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 ccpocket configures →

About the project

CC Pocket is a mobile and desktop client for controlling Codex and Claude coding-agent sessions through a self-hosted Bridge Server running on another computer. It lets users start sessions, approve actions, answer questions, review changes, and continue coding from supported devices. The catalogue entries provide the skills, hooks, MCP servers, agents, instructions, and settings used by this client.

K9i-0/ccpocket · 1,065 stars · on GitHub · k9i-0.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to K9i-0/ccpocket. 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/K9i-0/ccpocket/main/.claude/skills/self-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/K9i-0/ccpocket

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 self-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/k9i-0/ccpocket/self-review/github.svg)](https://agentmods.dev/skills/k9i-0/ccpocket/self-review)
Your own site
<a href="https://agentmods.dev/skills/k9i-0/ccpocket/self-review"><img src="https://agentmods.dev/badge/skills/k9i-0/ccpocket/self-review/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 self-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/k9i-0/ccpocket/self-review"><img src="https://agentmods.dev/badge/skills/k9i-0/ccpocket/self-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 670 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00033 $0.00670
Opus 5 $0.00016 $0.00335
Sonnet 5 $0.00007 $0.00134
Haiku 4.5 $0.00003 $0.00067

Measured 9d ago against content hash f34d7bc09918, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

self-review 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 9d 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/skills/self-review/SKILL.md · 100 lines

What it actually says

Self Review

タスク完了前に実行するセルフレビュー手順。

トリガー条件

  • ユーザーから /self-review コマンドで呼び出された場合
  • 大きな変更をコミットする前

レビュー手順

Phase 1: 変更差分の収集

# 変更されたファイル一覧
git diff --name-only HEAD

# 変更内容の取得
git diff HEAD

# 変更行数で規模判定
git diff --stat HEAD | tail -1

Phase 2: サブエージェントレビュー(code-reviewer エージェント)

code-reviewer サブエージェントを使ってレビューを実行する。

Task tool で code-reviewer サブエージェントを起動:

subagent_type: code-reviewer
model: opus

プロンプト:
---
以下のコード変更をレビューしてください。

## 変更ファイル
[git diff --name-only HEADの結果]

## 変更内容
[git diff HEADの結果]

重大な問題がなければ 'LGTM' と回答してください。
日本語で回答してください。
---

注意: 変更規模が小(~30行以下)の場合はサブエージェント不要、自己レビューのみでOK。

Phase 3: 判定

判定 条件 アクション
PASS LGTM タスク完了可
MINOR 軽微な問題のみ 警告表示後、タスク完了可
FAIL 重大な問題あり 修正後に再レビュー

Phase 4: フィードバックループ

FAIL判定の場合:

  1. 指摘された問題箇所を修正
  2. Phase 1-3 を再実行
  3. PASSになるまで繰り返し

変更規模による調整

git diff --stat HEAD | tail -1
変更規模 行数目安 レビュー方法
~30行 自己レビューのみ(subagent不要)
31-100行 code-reviewer サブエージェント
100行以上 code-reviewer サブエージェント + 詳細分析

出力テンプレート

## Self Review Result

### Claude subagent Review
[code-reviewer サブエージェントからの出力]

### 判定: [PASS/MINOR/FAIL]

#### 問題点(該当する場合)
- [ ] [ファイル:行] [問題の説明]

#### 次のアクション
- [タスク完了可 / 修正必要]
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. 9d ago First seen · 100 lines · 33 tokens per session scan A f34d7bc09918

Subscribe to this mod's changes

self-review is a skill published in the GitHub repository K9i-0/ccpocket (1,065 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 670 once invoked, about $0.0002 per session on Opus 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 skills, from other repositories

flutter

Use when building, structuring, testing or optimizing a Flutter app — feature-first layering, Riverpod 3 or Bloc, typed gorouter, freezed models, a dio data layer, Material 3, jank hunting, widget/golden tests. Targets Flutter 3.44 / Dart 3.12. NOT React Native (that is react-native), NOT Compose Multiplatform (that…

ericrisco/rsc-harness · 91 tokens

cloudx-audit

Audit an existing CloudX SDK integration in a publisher app for correctness, staleness, lifecycle, coexistence, and privacy issues. Use when asked to check, audit, review, or validate a CloudX integration that already exists, or after upgrading the CloudX SDK version.

cloudx-io/cloudx-sdk-agents · 61 tokens

cmp-audit

Adversarial audit of one subsystem of a Kotlin/Compose Multiplatform app against its spec AND against platform semantics — the class of defect desktop-tier tests cannot see (alarms, notifications, PendingIntents, reboot, process death, DST). Use this when the user says "audit the notifications", "double check X for…

kvdm-co-pilot/create-cmp · 157 tokens

noqa-testing

Use this skill when the user wants to boot and interact with iOS or Android devices/simulators — inspect the screen, execute actions, generate or edit test cases, or run UI tests via the noqa platform.

noqa-ai/noqa · 47 tokens

swiftlint

Configure and roll out SwiftLint for an iOS/Swift (or KMP-iOS) fintech app — author .swiftlint.yml (disabledrules / optinrules / onlyrules / analyzerrules / included / excluded / customrules, per-rule severity thresholds, parentconfig / childconfig), wire it via the SwiftLintPlugins SPM build-tool plugin (SimplyDanny)…

TalissonVitorino/kmp-ios-skills · 251 tokens

zmr-mobile-testing

Use when testing mobile apps with Zeno Mobile Runner, integrating app-local .zmr setup, driving Android or iOS simulator scenarios, using JSON-RPC or MCP agent sessions, exporting traces, or comparing mobile runner benchmarks.

johnmikel/zeno-mobile-runner · 50 tokens