Claude Code Insights

1,184 messages across 151 sessions (180 total) | 2026-06-17 to 2026-06-25

At a Glance
What's working: You run a disciplined, verification-first operation: you drive iterative development through phased PRD writing combined with automated write-review loops gated by an independent reviewer that audits code until it earns a PASS verdict. That gating mindset extends to your deployments, where you surgically isolate only web-safe commits, require explicit re-confirmation before shipping to prod, and verify every release is green. You also make grounded infrastructure calls by probing live servers directly—like identifying RAM as the real bottleneck and flagging an ARM trap before committing to a config. Impressive Things You Did →
What's hindering you: On Claude's side, it sometimes assumed the wrong scope or execution model and proceeded before you corrected it—treating 'P3' as the wrong roadmap item, writing to a root-level changelog instead of your existing one, or doing rendering itself instead of delegating to your laptop. On your side, the biggest drag is environmental: repeated API overload and quota exhaustion halted entire sessions, and safety classifiers narrowly read your approvals (taking '同意' as code-plan-only, not a prod deploy), each adding friction that more explicit scoping up front could pre-empt. Where Things Go Wrong →
Quick wins to try: You've already proven the value of reusable workflows with your /wrloop command—lean further into Custom Skills to codify your deploy-from-git-HEAD discipline and re-confirmation gates so they run consistently every time. Connecting Claude to your GitHub issues via an MCP server would tighten your triage-fix-close loop, and Hooks could auto-snapshot git state before each deploy to guard against the parallel-process file reversions that silently corrupted earlier ships. Features to Try →
Ambitious workflows: As models get more capable, your /wrloop pipeline can become genuinely self-gating: a writer, a fully independent reviewer, and a deploy agent that only ships on a green verdict—automatically retrying through 529/429 errors, failing over between model gateways, and reading the reviewer's transcript directly instead of guessing from empty logs. Beyond that, your laptop-plus-servers setup could become one self-healing agent mesh that maps every node, routes around proxy and GFW failures, recovers from OOM builds and SSH hiccups, and always deploys from a verified commit—turning today's brittle manual coordination into a resilient orchestrated fleet. On the Horizon →
1,184
Messages
+50,005/-4,097
Lines
946
Files
9
Days
131.6
Msgs/Day

What You Work On

Mini-Program PRD & Multi-Agent Review Loops ~12 sessions
User drove iterative development of the luying-miniapp through phased PRD/tech-doc writing combined with automated write-and-review loops gated by an independent laptop-based Claude reviewer. Claude codified this into a reusable /wrloop command, completed multiple phase batches to PASS verdicts, and corrected real design flaws (e.g., openid account-interop misjudgment) caught during cross-machine reviews. Some sessions stalled on GLM-5.2 quota exhaustion or remained mid-review when transcripts ended.
Production Deployment & Feature Delivery ~14 sessions
User had Claude implement web features (prompt-saving, drag-and-drop uploads, image compression, VIP popups, cover-image variety) and deploy them safely from the 106 test server to 175 production with changelog updates and git commits. Claude carefully isolated web-safe commits to avoid polluting prod with unverified mini-app code, handled parallel-process file reversions by switching to git-HEAD as deploy source, and verified deployments green.
Bug Diagnosis & GitHub Issue Triage ~10 sessions
Claude diagnosed and fixed real production bugs including a critical SQL INSERT bug (missing placeholder), a 0KM distance bug fixed via client-side Haversine, and tag-refresh caching issues. It triaged batches of GitHub issues, distinguished real bugs from non-bugs, applied verified fixes on test and prod, and closed/commented issues per user authorization.
Server & Infrastructure Operations ~8 sessions
User had Claude perform server health checks, cloud config selection (identifying RAM as the bottleneck and flagging an ARM trap), and recover an unreachable Japan server via API restart and proxy setup. Claude also deployed CloudCLI as a systemd service, set up Beszel monitoring, configured Termius SSH key auth, and managed QQ bot session resets to prevent 529 overload errors.
Strategic Analysis & Visual Artifacts ~6 sessions
User requested data-driven strategic analyses including platform expansion options, GLM-5.2 quota strategy, hackathon war-plans, and an AI-incubator floor-plan concept. Claude delivered analyses paired with deployed interactive webpage/dashboard artifacts and persisted strategy decisions to memory, occasionally limited by API overload errors.
What You Wanted
Deployment
18
Feature Implementation
14
Documentation
14
Version Control
8
Bug Fixing
4
Server Diagnostics
4
Top Tools Used
Bash
4121
Edit
1648
Read
1376
TaskUpdate
486
Write
374
TaskCreate
302
Languages
TypeScript
1420
Markdown
1162
Python
297
JavaScript
98
HTML
58
JSON
38
Session Types
Multi Task
29
Single Task
15
Iterative Refinement
4
Quick Question
1

How You Use Claude Code

You operate like a technical project lead orchestrating autonomous agents rather than a hands-on coder. Your hallmark move is the write-review loop: you repeatedly task Claude to develop something, then have a *separate* laptop-based Claude Code instance independently audit the work until it reaches a 'PASS' verdict—a pattern so central you had it codified into a reusable `/wrloop` skill. You delegate heavily and grant autonomy upfront ('approved autonomous execution'), preferring to set decisions and constraints at the start (e.g., 'lock decisions then run the loop') rather than micromanaging each step. The sheer tool volume—4,121 Bash calls, 486 TaskUpdates, 302 TaskCreates—shows you trust Claude to run long, multi-step deployment and review chains across multiple machines and servers.

Despite the autonomy, you keep a firm hand on deployment safety. You consistently draw sharp lines between test (106) and production (175) servers, and you explicitly fence off risky changes—'deploy only the web-safe feature excluding miniapp changes' or 'commit without deploying to 175 as requested.' When Claude's auto-mode classifier treated your '同意' as approval for a code plan but not a prod deploy, that friction reflects *your* deliberate gating, not carelessness. You also interrupt to correct course when Claude drifts: redirecting it to *delegate* rendering to the laptop instead of doing it itself, correcting the changelog file location, and telling it to 'keep it simple' when it over-engineered. These are surgical interventions—you let Claude run, but you catch wrong approaches quickly.

Your biggest recurring pain isn't Claude's competence but infrastructure fragility: repeated 529/429 API overloads and quota exhaustion blocked entire sessions, forcing you to retry with '继续' eleven times or switch models. Notably, you sometimes know the faster diagnostic path before Claude does—you suggested reading the laptop Claude's transcript directly when Claude was uselessly inferring health from empty logs. This reflects a deeply technical operator who thinks in systems, runs cross-machine workflows, and uses Claude as an execution engine within a verification framework you designed. Your outcomes bear this out: 38 of 49 sessions fully achieved, with failures almost entirely attributable to external API blockers rather than misunderstanding.

Key pattern: You orchestrate autonomous write-then-independently-review loops across multiple machines, granting Claude broad execution autonomy while enforcing strict test-vs-production deployment gates.
User Response Time Distribution
2-10s
25
10-30s
104
30s-1m
108
1-2m
155
2-5m
175
5-15m
134
>15m
69
Median: 117.5s • Average: 311.8s
Multi-Clauding (Parallel Sessions)
106
Overlap Events
103
Sessions Involved
32%
Of Messages

You run multiple Claude Code sessions simultaneously. Multi-clauding is detected when sessions overlap in time, suggesting parallel workflows.

User Messages by Time of Day
Morning (6-12)
234
Afternoon (12-18)
415
Evening (18-24)
443
Night (0-6)
92
Tool Errors Encountered
Command Failed
250
Other
158
User Rejected
29
File Not Found
9
Edit Failed
5
File Changed
2

Impressive Things You Did

Over a week of intense work across 151 sessions, you ran a sophisticated multi-machine development operation spanning mini-program builds, production deployments, and automated review loops.

Automated write-review dev loops
You built and codified a reusable /wrloop command that drives a multi-agent write-and-review cycle, with your laptop's headless Claude independently auditing code until it earns a PASS verdict. This gating workflow caught real flaws—like an openid account-interop misjudgment and security issues—and let you close GitHub issues with verified confidence rather than blind trust.
Safe surgical production deployments
You consistently isolated exactly the web-safe commits to deploy to your 175 prod server while excluding unverified mini-app code, even working through parallel-process file reversions by switching to git-HEAD as the deploy source. You require explicit re-confirmation before prod pushes and verify every deployment is green, showing disciplined release hygiene under real pressure.
Data-driven infrastructure decisions
You probe live servers to make grounded calls—like identifying RAM rather than CPU as the migration bottleneck and flagging an ARM-architecture trap before settling on a 2C8G x86 config. You pair this with sharp root-cause debugging, pinpointing exact SQL bugs (a missing ? in VALUES) and diagnosing browser-cache vs. server-cache issues before filing precise GitHub issues.
What Helped Most (Claude's Capabilities)
Good Debugging
17
Multi-file Changes
10
Proactive Help
10
Good Explanations
6
Correct Code Edits
3
Outcomes
Not Achieved
3
Partially Achieved
4
Mostly Achieved
4
Fully Achieved
38

Where Things Go Wrong

Your sessions are highly productive, but you hit recurring friction from API overload errors blocking work, automated safety classifiers misjudging your approvals, and Claude needing redirection on delegation and file-location conventions.

API Overload and Quota Blockers
A large share of your friction comes from 529 'Overloaded' errors and GLM-5.2 quota exhaustion that halt work entirely, often forcing you to retry many times or switch models. Consider scheduling heavy automated loops during off-peak windows and setting up fallback model routing so a single gateway outage doesn't fully block you.
  • Repeated 529 errors prevented scheduling a cron task and blocked a logo-generation session entirely, so nothing was accomplished (not_achieved).
  • You retried with '继续' eleven times against persistent 529 errors before Claude could do any work, and elsewhere had to switch models mid-task.
Safety/Permission Classifiers Misfiring on Approvals
Automated classifiers repeatedly blocked legitimate actions or narrowly interpreted your approvals, adding extra confirmation rounds. Being explicit about scope when you approve (e.g. naming 'prod deploy' rather than just '同意') can pre-empt these interruptions.
  • The auto-mode classifier treated your '同意' as approval for only the code plan, blocking the production deployment until you re-confirmed explicitly.
  • Permission and safety classifiers blocked a global npm install and a git reset --hard, forcing you to authorize alternative approaches mid-task.
Misaligned Defaults Requiring Correction
Claude sometimes assumed the wrong scope, file location, or execution model and proceeded before you corrected it, costing rework. Stating conventions up front—which changelog file, who drives rendering, what 'P3' means—would reduce these detours.
  • Claude created a root-level CHANGELOG.md and later a wrong changelog location instead of updating content/docs/changelog.md, requiring your correction before deploy.
  • Claude initially did rendering itself and misread 'P3' as the Douyin port, needing you to redirect it to delegate to the laptop's Claude and clarify the WeChat scope.
Primary Friction Types
Api Error
13
Buggy Code
9
Wrong Approach
7
Misunderstood Request
3
User Rejected Action
3
External Blocker
1
Inferred Satisfaction (model-estimated)
Frustrated
2
Dissatisfied
3
Likely Satisfied
104
Satisfied
15

Existing CC Features to Try

Suggested CLAUDE.md Additions

Just copy this into Claude Code to add it to your CLAUDE.md.

Multiple sessions involved deploying 106→175 with file-reversion bugs and ambiguous production approval that caused friction.
Claude created the wrong changelog file location in at least two sessions, requiring user correction.
Claude repeatedly misjudged review-process health from logs and once spawned a duplicate concurrent process that needed cleanup.
Server roles and reachability assumptions caused repeated confusion across deployment and SSH sessions.

Just copy this into Claude Code and it'll set it up for you.

Custom Skills
Reusable /commands defined as markdown skill files.
Why for you: You already built /wrloop and /wrap—formalizing /deploy and /commit would standardize your most repeated workflows (82 commits, 18 deployment sessions).
Create .claude/skills/deploy/SKILL.md: # Deploy Deploy from git-HEAD only. Test on 106, verify green, then ask explicit confirmation before pushing to 175 prod. Update content/docs/changelog.md and commit.
Hooks
Shell commands that auto-run at lifecycle events.
Why for you: With heavy TypeScript/Markdown editing, a post-edit format/typecheck hook would catch issues like the non-existent SCSS token before commit.
// .claude/settings.json { "hooks": { "PostToolUse": [{"matcher": "Edit|Write", "hooks": [{"type": "command", "command": "npx tsc --noEmit || true"}]}] } }
MCP Servers
Connect Claude to GitHub issues and APIs via MCP.
Why for you: You frequently triage/fix/close GitHub issues (#48, #75, #103-107) and manage server APIs—an MCP GitHub server removes manual issue lookup steps.
claude mcp add github -- npx -y @modelcontextprotocol/server-github

New Ways to Use Claude Code

Just copy this into Claude Code and it'll walk you through it.

Guard against API overload stalls
Several sessions were fully blocked by repeated 529/429 overload errors, wasting retries.
You had multiple not_achieved sessions (logo design, drag-drop upload, cron scheduling) where 11+ retries failed due to API overload on the GLM gateway/relay. Build in a fallback model switch and avoid scheduling critical automated work against a quota-limited endpoint. Pre-check quota before launching laptop-driven audit loops.
Paste into Claude Code:
Before starting this task, check the current API/quota status of the gateway. If overloaded or near quota limit, tell me immediately and suggest switching models rather than retrying repeatedly.
Keep responses under output token limits
Claude's responses repeatedly exceeded the 500-token output max causing API errors.
In review-loop sessions your output budget is constrained, but Claude generated overly long responses triggering errors. Instruct Claude to keep status updates terse and chunk long deliverables. This is especially important in automated wrloop runs.
Paste into Claude Code:
Keep all status responses under 400 tokens. For long deliverables, write to a file and report only a 2-line summary.
Always deploy from git-HEAD, not working tree
Parallel dev processes silently reverted working-tree files, causing wrong files to deploy.
A recurring deployment failure mode was scp-ing working-tree files that a concurrent process had reverted. Standardizing on git-HEAD as the deploy source fixed it. Make this the default so it never recurs across your 18 deployment sessions.
Paste into Claude Code:
Deploy using files from git HEAD only (git archive or checkout to a clean dir), never the live working tree, since parallel processes may revert files.

On the Horizon

AI-assisted development is shifting from single-session coding help toward fully autonomous write-review-deploy loops where supervising agents gate work across multiple machines.

Self-Gating Write-Review-Deploy Pipelines
Your /wrloop skill already drives multi-round write-review cycles to a PASS verdict, but the audit step keeps stalling on external quota and process-health blind spots. Imagine a resilient pipeline where a primary agent writes code, a fully independent reviewer agent audits against your PRD and tests, and a deploy agent only ships after a green verdict—automatically retrying through 529/429 errors, failing over between model gateways, and reading the reviewer's transcript directly to diagnose stalls instead of guessing from empty logs.
Getting started: Extend your /wrloop skill with retry-with-backoff and gateway-failover wrappers around the audit step, and add a Task subagent that reads the reviewer transcript for health checks rather than pgrep.
Paste into Claude Code:
Upgrade my /wrloop skill into a resilient autonomous write-review-deploy pipeline. Requirements: (1) a writer agent implements the next batch against the PRD; (2) an independent reviewer subagent audits the code against the PRD and existing tests and emits a PASS/FAIL verdict; (3) on any 429/529/overload error, automatically retry with exponential backoff and fail over to an alternate model gateway instead of stopping; (4) diagnose reviewer health by reading its transcript directly, never inferring from empty logs or pgrep; (5) only deploy on a confirmed PASS, and require explicit prod re-confirmation before pushing to the 175 server. Show me the updated skill definition before running it.
Parallel-Process Conflict Guard for Deploys
Several sessions lost time when a parallel dev process silently reverted working-tree files, causing commits to fail and scp to deploy stale code until you switched to git-HEAD as the deploy source. A standing guard agent could detect concurrent processes touching the same repo, snapshot git state before every deploy, always ship from a verified commit rather than the working tree, and abort with a clear diff when reality drifts—eliminating an entire class of silent deployment corruption.
Getting started: Build a pre-deploy hook or skill that scans for competing processes, deploys strictly from git HEAD, and verifies the deployed file hashes against the committed tree before declaring green.
Paste into Claude Code:
Create a /safe-deploy skill that prevents the parallel-process file-reversion bug we keep hitting. Before deploying: detect any other running processes that may modify this repo and warn me; create a git snapshot of current state; deploy ONLY from a specific verified git commit (never the working tree); after deploy, verify the remote file hashes match the committed versions and abort with a clear diff if they don't. Isolate exactly which commits should ship (e.g. web-safe changes only, excluding miniapp work) and require my confirmation before touching the 175 prod server.
Cross-Machine Agent Fleet Orchestration
You already run headless Claude on a laptop to drive independent reviews and video rendering across the 106 test and 175 prod servers, but coordination is manual and brittle around proxies, SSH, and process discovery. A fleet orchestrator could map every Claude window and machine, delegate rendering or auditing to the right node, route around GFW/proxy failures automatically, and recover gracefully from OOM builds and SSH key-exchange hiccups—turning your laptop and servers into one self-healing agent mesh.
Getting started: Use the Agent tool to spawn delegated subagents per machine and persist a live topology map in memory, with health checks and proxy fallbacks baked into the orchestration skill.
Paste into Claude Code:
Build a cross-machine orchestration skill that treats my laptop, 106 test server, and 175 prod server as a coordinated agent fleet. It should: (1) discover and map all running Claude Code windows/processes and correct any misconceptions about how many exist; (2) delegate independent review and video-rendering work to the laptop's own Claude Code rather than doing it locally; (3) automatically handle proxy/SSH issues—retry OOM-killed builds (exit 137), recover from SSH key-exchange failures, and fall back to direct connection if a proxy returns 503; (4) maintain a persistent topology and health map in CLAUDE.md memory. Start by mapping the current fleet state.
"A user typed '继续' (continue) eleven times into the void while Claude was paralyzed by 529 'Overloaded' errors, unable to do any work at all."
During a session aiming to add drag-and-drop image upload, repeated API overload errors stonewalled all progress. The user's persistent retries—eleven 'continue' commands—captured the very human stubbornness of refusing to give up on an unresponsive assistant.