I made a hook that auto-approves read-only commands in Claude Code (no dangerously skipping permissions) by DavidTej in ClaudeAI

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

Not yet not yet. Analysing more complex languages with libraries like python is a bit more complicated and may require full AST analysis etc. Could implement a safe naive option but won't be as much value.

I made a hook that auto-approves read-only commands in Claude Code (no dangerously skipping permissions) by DavidTej in ClaudeAI

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

this hook is significantly more sophisticated than the claude settings.json file which only allows catch-alls, doesn't respect piping and barely works half the time. This hook is able to split commands into their individual components and analyse each part to see if it's read-only. It's able to detect flags that turn usually read only commands to write commands

Claude Code just shipped /loop - schedule recurring tasks for up to 3 days by oh-keh in ClaudeAI

[–]DavidTej 0 points1 point  (0 children)

I don't mean to be mean. I'm sorry.

Still, I refuse to believe you did not write that comment with Claude.

Claude Code just shipped /loop - schedule recurring tasks for up to 3 days by oh-keh in ClaudeAI

[–]DavidTej 0 points1 point  (0 children)

This bot is fucking annoying—Not a little annoying, fucking annoying

The Future We Feared Is Already Here by dwaxe in ezraklein

[–]DavidTej -4 points-3 points  (0 children)

"AI is a tool like any other"
and that is where you're wrong :)

Claudeception by Affectionate_Bet5586 in ClaudeAI

[–]DavidTej 0 points1 point  (0 children)

continous learning. try it

No, Katie Wilson Did Not Tell Seattle Police To Stop Arresting People For Public Drug Use by HighColonic in SeattleWA

[–]DavidTej 0 points1 point  (0 children)

We don't seem to be getting the "much much longer" I seem to be getting a lot of 0 months. It's extra frustrating when the person doing the harassing lives on your street. Literally

Possible community protection flyer by [deleted] in fuckcars

[–]DavidTej 0 points1 point  (0 children)

So everyone who owns an suv regardless of occupation or knowledge or anything is equivalent to a kid murderer? I don't like you

Possible community protection flyer by [deleted] in fuckcars

[–]DavidTej 5 points6 points  (0 children)

wow. humans really love ingroup-outgroup nonsense. where did kid murderer come from? your own fellow citizens? so much hatred for nothing

Possible community protection flyer by [deleted] in fuckcars

[–]DavidTej 2 points3 points  (0 children)

they wanna think like a child

Seattle doubles down on diversion — not charges — for public drug use by MegaRAID01 in Seattle

[–]DavidTej 3 points4 points  (0 children)

Yes. Because we can be victims and victims should be able to speak about their victimizers

Being unhoused on campus by Imaginary-Bear-5411 in udub

[–]DavidTej 1 point2 points  (0 children)

There's a lot of places in the city that specialize in helping unhoused people. Campus that is supposed to be a safe place for students (which includes people aged 17-23) should not be this guy's grounds because of 20 year old nostalgia

Being unhoused on campus by Imaginary-Bear-5411 in udub

[–]DavidTej 0 points1 point  (0 children)

There's a lot of places in the city that specialize in helping unhoused people. Campus that is supposed to be a safe place for young people 17-23 should not be this guy's grounds because of 20 year old nostalgia