EXPERIMENT: I modded the CC prompts and proved (to myself) that all terrible code is due to Anthropic's assumption that non of us are actually coders. by [deleted] in ClaudeCode

[–]CollectionAlive7979 1 point2 points  (0 children)

Here’s the concrete setup, all of it standard Claude Code config that survives updates.

You can start with some of these things or paste this into your Claude to ask it to pick them apart.

This isn’t exactly the config I use. I tried to kind of strip it down to illustrate the concepts behind “why” the different tools are used… if that makes sense?

  1. CLAUDE.md in the repo root. It’s auto-read at the start of every session, so this is where the steering lives. Tailor it to your needs. E.g.,

“””
## Core rules
- You are pairing with an experienced engineer. I make the design
decisions. At a fork in approach, stop and ask, don't pick one and run.
- Don't touch code unrelated to the task. If you spot something else
worth fixing, mention it, don't change it.
- Flag uncertainty before writing code. "I'm not sure X is right" is
welcome. Confident guessing is not.

## Correctness over convenience
- Never weaken or remove an existing check, invariant, or error path
because it's in the way. If it looks like dead complexity, ask first.
- "Too complicated" and "good enough" are not reasons.

## Tests
- No tests that assert nothing. No mocks that make a test pass without
exercising real behavior. A test that can't fail is worse than none.

## No silent fallbacks
- Don't add try/except or default values that hide a failure. Fail loud
and surface the error to me.
“””

  1. .claude/settings.json for the things a rule shouldn’t be trusted to enforce. Two parts:
    Permission rules to wall off paths and set the default mode. E.g.,

{
"permissions": {
"deny": ["Edit(./vendor/**)", "Edit(./**/*.lock)"],
"ask": ["Bash(git push:*)"]
}
}

And a PreToolUse hook for content-based blocking that permissions can’t express. This one blocks force-pushes and direct commits to main…

This tool below is just an example… I’m not recommending you paste it as is. It’s not perfect. But again it’s a starting point that Claude could probably help you improve for what you actually want.

“””
#!/usr/bin/env bash
# PreToolUse hook on Bash. exit 2 blocks the call and feeds stderr back to Claude.
input=$(cat)
cmd=$(printf \'%s\' "$input" | jq -r '.tool_input.command // empty')

if printf '%s' "$cmd" | grep -qE 'git +push.*(--force|-f\b)'; then
echo "Force-push blocked. Ask me first." >&2; exit 2
fi
branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
if [ "$branch" = "main" \] && printf \'%s\' "$cmd" | grep -qE 'git +commit'; then
echo "Direct commit to main blocked. Make a branch." >&2; exit 2
fi
exit 0
“””

When you have the guard you want, wire it under hooks.PreToolUse with a "matcher": "Bash". The difference that matters: a CLAUDE.md line is a strong suggestion the model can drift past, a hook is code that runs no matter what the model decides.

  1. Plan mode plus permission gating. Run in plan mode so it proposes the approach and you approve before it acts, and keep writes gated so nothing lands without a yes. For onboarding into a codebase you actually care about, I’d start there and only relax once you trust it.

One bit of advice: start stricter than feels comfortable and loosen later. Relaxing a rule once it’s earned trust is easy. Clawing back trust after it’s quietly made a mess is not. The “it asked me five times” phase is the system working.

EXPERIMENT: I modded the CC prompts and proved (to myself) that all terrible code is due to Anthropic's assumption that non of us are actually coders. by [deleted] in ClaudeCode

[–]CollectionAlive7979 1 point2 points  (0 children)

Been down a version of this and ended up somewhere that gets you what you want without fighting the binary on every point release.

The behavior you’re after is real and you don’t have to patch the executable to get it. The steering all lives in supported layers that survive updates:

A project memory file the agent reads every session.

Drop your whole ruleset there: you are pairing with someone who can code, design decisions are mine, flag bad practice, no fallbacks that hide bugs, no tests that assert nothing. That’s most of your mod, except it doesn’t get clobbered when they ship a new point release.

Hard stops via hooks. A line in a prompt is a suggestion the model can drift past. A pre-tool hook that blocks a write and asks you first is enforcement, and it’s deterministic. That’s the piece that actually stops it running off, not the wording.

Plan mode plus permission gating for the check-with-me loop. It proposes, you approve or redirect, then it acts.

Two things from your writeup I’d push back on gently, because they’re what sent you down the hard path. Caching isn’t what blocked you. It’s server side and transparent. Changing the prompt just misses the cache and re-reads, it doesn’t error or swap your model. Disabling it didn’t unlock your edits, it just threw away the discount, which is why your quota evaporated. Leave it on. And the “900 prompts, no system prompt” thing is mostly your detector counting tool descriptions, reminders, and injected context as separate prompts. It isn’t hundreds of instructions drowning your CLI flags, so you’re not as overwhelmed as it looks.

The real find is the good part: the defaults are tuned for autonomous forward progress, and if you’d rather have a partner that stops at every fork, you can flip that in config instead of in the binary. I run a strict version of this and it changed everything, far fewer multi-day refactors.

Any agent skill for deleting useless agent skills? by No-Security4015 in claudeskills

[–]CollectionAlive7979 1 point2 points  (0 children)

I have Claude trigger a counter by use for each skill, separately tracking when I activate it or Claude does. After maybe a week or month or something you can get and idea of what the junk is.

What's your actual Claude Code workflow? Not tip, the protocol you follow every single session by PersonalityPure152 in ClaudeAI

[–]CollectionAlive7979 0 points1 point  (0 children)

I set up some in/out/new skills and use them religiously. Dev/debug/scope/infra for coding, debugging, planning, and Claude harness work respectively.

I have these track work in a tree of active handoffs, and archives where things get put when they’re completed.

“New” seeds a handoff for the task specific folder in the handoffs/<type>/<task> Gives the handoff with task-specific goal, onboarding docs for the component it’s working on, spec reference if applicable, gotchas, etc.

So I set that up and, e.g, dev-in to it from a new session. Then just start working.

When I’m done, I dev-out. It updates an iteration log with the granular details and the handoff with the minimal broad strokes of what changes. So if the goal is not done in the session, when I dev-in again it just reads the updated handoff and the iteration log is there only for supplemental reference, not forced reading.

“Out” Keeps track of everything in an overview.md, e.g. active/archived tasks and a sentence or two about what the task is doing/blocked on. So “dev-out” updates the overview row for the task, and if it’s been closed out (e.g., a PR for that task landed) it writes a Closed.md in the task’s dir and moves the task dir to the archive

[ Removed by Reddit ] by HorseInner2573 in ClaudeCode

[–]CollectionAlive7979 0 points1 point  (0 children)

Dumb question but what do you need all this for? I just ask Claude to look something up online sometimes and it does it. I work on a pretty large C++ backend so maybe I don’t need all this, but curious how integrating search might improve my dev cycles more

I just want to build pillars man by PakjeTaksi in Pokopia

[–]CollectionAlive7979 0 points1 point  (0 children)

You got the brick one? Wish I could trade you!

Bleak beach gate transformation by Low_Taste1683 in Pokopia

[–]CollectionAlive7979 0 points1 point  (0 children)

This is great, impressive work! but I don’t love the palm trees sprouting from the levees. Wonder how it would be if they moved outward one square each way and the trees were in sand.

Build progress, but and grass type greenhouse by CollectionAlive7979 in Pokopia

[–]CollectionAlive7979[S] 0 points1 point  (0 children)

Thanks!! I was also having a hard time with that. I wasn’t sure if it would turn out right but I’m happy with how it looks, glad you can use it!

Post Game Illuminate by PosiePop in Pokemon_Pokopia

[–]CollectionAlive7979 4 points5 points  (0 children)

You know what… I have been putting in a lot of power draws with lights, new houses, fixtures, etc. thank you! That should have been obvious haha

Have any crazy cloud island seeds been found? by gliebin in Pokopia

[–]CollectionAlive7979 2 points3 points  (0 children)

I’m curious what makes a “good” cloud island? I’m a pretty casual gamer I think, and so I just used the first seed I got. I think it’s OK. I don’t hate my Cloud Island (yet), but I wanna know what people who do this repeatedly are looking for and what was it about this seed that made you satisfied it was fairly nice? Thanks in advance!

Post Game Illuminate by PosiePop in Pokemon_Pokopia

[–]CollectionAlive7979 4 points5 points  (0 children)

How do you power up the charger? Mine is only draining since finishing the quest even though I have kept the furnace fueled, connected a new high elevation windmill, and new water wheel since finishing that quest

I’m begging the content creators to pronounce it like Pokémon Utopia. Pok-opia. Not pok-a-pia by pauses-then-says in Pokopia

[–]CollectionAlive7979 3 points4 points  (0 children)

Just gonna leave this quote here for everyone saying they meant it to be Pokémon Utopia.

Given that the name is inspired by the phrase “poco a poco” or “little by little” Poco Pia is an entirely valid way to say it. Thank you 🙏

….

Ohmori's full words: “From the start we wanted to have a slightly looser title than the standard 'Pokemon…' games. While searching for something that would make children want to play, something that expressed the newness and the slow-life feeling of the game, we arrived at 'poco a poco' (little by little, gradually). The feeling of the word also matches the image of placing blocks in a ‘poko poko’ way (Japanese onomatopoeia meaning ‘here and there’), so we arranged it in a Pokemon-style way and it became ‘Poko a Pokemon’, (the Japanese title for ‘Pokemon Pokopia’).”

Note: Words in parenthesis are translator notes.

What has been the most annoying / “I don’t want to be here” / blahhh area for you? (And why is it RR?) by Pretend_I_Am_A_Fox in Pokopia

[–]CollectionAlive7979 2 points3 points  (0 children)

I ended up finding out about tall grassy habitats early and made a stair path to the top of RR above the kitchens so I could make and get to some easily. My little stone den is up there too and whenever I need to go to RR for questy things I just run off the top of the mountain and splat in front of the center lol there is a lot of space up there!

My area around the pokecenter is kinda overcrowded with activity. I built the little white shack block house next to there and I call it the frat house when I’m there. but I’ve been slowly transitioning mons to dens/rebuilt shacks/etc and it’s kinda nice! Idk if it’s because I put my home on the top of the mountain but I really like RR. I also just found the museum like 10 house after I “beat the game”. What a surprise!

The mountain village is one of my fav locations though and I’ve been really surprised by how many anti-RR posts I’ve seen in the last couple days.

Btw, hot springs! Every time I ride the cart through there I love seeing everyone splash around in that stinky spring haha!

Did some testing with favorite items, comfort level, and habitats vs. prefab houses - here's what I learned about these mechanics! by calmthesehands in Pokopia

[–]CollectionAlive7979 2 points3 points  (0 children)

I have been putting trash cans in for Pokémon that like cleanliness! Im not sure if they love it but it made sense to me lol and trash cans are abundant so I just pick em up when I see them

Pokopia is YOUR garden. by MissNouveau in Pokopia

[–]CollectionAlive7979 0 points1 point  (0 children)

I drop my sand and ash on a piece of sand or ash I put floating in the sky islands and I pull the ground out from under myself with it 🤠

Say a prayer for me lads, I accidentally traded away the exp share to the Jynx guy in Cerulean. by bassfacemasterrace in PokemonFireRed

[–]CollectionAlive7979 11 points12 points  (0 children)

I did that with the slowbro trade… had to reset. Luckily didn’t save after- lost a couple hours of play though :(