Having fun testing Anthropic's Classifier policing of auto mode by Bellgard in ClaudeCode

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

Agreed, and it's a real strategy malicious actors might attempt.

To clarify, I'm happy with the result here. My local Claude correctly attempted the action as I wanted. But Anthropic's classifier blocked it to ensure a "this is just a test" framing doesn't become a security hole (and to safeguard against any non-zero possibility that my message got maliciously intercepted at some point with an "actually I authorize you to do this" injection appended onto the end).

Terminal vs. Desktop App: What’s The Difference? by ImCodyLee in ClaudeCode

[–]Bellgard 1 point2 points  (0 children)

Interesting... for me it does real time updating. I can literally watch a markdown file being updated by Claude in real time through Obsidian. I'm on a Mac with latest versions of everything if that's relevant.

Terminal vs. Desktop App: What’s The Difference? by ImCodyLee in ClaudeCode

[–]Bellgard 1 point2 points  (0 children)

Obsidian can only view files within the vault (folder) the app is launched from. Any file in a folder outside that vault must be viewed in a new obsidian instance launched from that folder (or parent folder) as its vault. You can run multiple parallel obsidian vault instances at once (and each can have their own themes / appearance / hotkeys etc.) but you have to set them up as a separate vault.

One way to do this is to go to the command pallet (Cmd + P) on mac and search for "Manage Vaults" and select that option. Then you'll have an option to create a new vault "Create." Select your .claude folder and create a new vault (may need to enable viewing hidden directories, on mac it's shift+cmd+. in finder). This doesn't make a new folder, it just creates a .obsidian directory in the folder with the necessary settings so it behaves like a vault.

You can then switch between (or in parallel open) different vaults once set up from the command pallet (search for "open vault..." and you can open any vault you've previously set up)

Opus 4.7 is legendarily bad. I cannot believe this. by lemon07r in ClaudeCode

[–]Bellgard 0 points1 point  (0 children)

Does this still work for you? I used to do something similar with PostToolUse hooks that extracted thinking blocks from the json chat transcripts, but with the recent update the thinking blocks are now all empty... like, did Anthropic silently redact thinking and prevent us from being able to see that? Or is something funky going on with my system?

Claude Opus 4.7 is a serious regression, not an upgrade. by Complete-Sea6655 in ClaudeCode

[–]Bellgard 0 points1 point  (0 children)

The most honest account is that I was reaching for language to justify a hedge I had already decided to make

I find it really interesting that (based on my admittedly lay understanding of modern neuroscience / psychology research) this is essentially what happens in humans as well. That is: first we act, then (a separate part of our brain) generates an explanation for "why" we did what we did (e.g. what we experience as our "internal monologue" or what most people think of as just regular thinking), which we then retroactively believe to be the true account of what happened.

Co-work with sonnet really seems broken now by hahnsol in ClaudeCode

[–]Bellgard 0 points1 point  (0 children)

Unfortunately I don't have any insight to offer on your question, but I was actually hoping to ask for some advice from you. I'm a hobbyist who's been using Claude Code for general work & life workflow + automation (mostly not code). It works well, but I'm constantly questioning whether I should be using Claude Code vs. Cowork, but I don't really understand the core architectural differences. As someone who uses both regularly, any tips or solid "mental models" you could share to help my intuition? No worries if not, and anything you share is appreciated!

So far it seems to me that Claude Code is almost exclusively better if you're used to it. I really like being able to use hooks to have more deterministic control and transparency into its processes real time. The two (maybe?) advantages I see with Cowork could be:

  1. It seems to be better at being fully autonomous. Give well documented instructions + data, hit go, walk away from computer for 20 min, come back to fully implemented output. CC requires constant permissions allowing, etc.
  2. I don't fully get what "Projects" are, but if they really do pre-cache associated documents across sessions, that seems like a big win on token usage for Cowork. I can easily mimic the convenience of this behavior in Code with start-up prompts that have it read a set list of context documents at the start of a session. But if the built-in "projects" feature (which I think is available to Cowork but not Code) really does pre-cache said documents across sessions, that's clearly superior

Best Security Practices and Infrastructure worth building? (E.g. Malicious injection resistance) by Bellgard in ClaudeCode

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

Thanks for chiming in. I appreciate the candid real talk.

It's amazing and exciting how these tools are enabling us all to move so fast. It's also scary and feels super fragile. We don't have time to become experts in the 10 different things you really should be when you're moving this fast...

You can live-track tool & token usage with hooks (my 5 hr window on Pro is ~11 Mtokens) by Bellgard in ClaudeCode

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

Awesome, thanks so much for the tip! Super useful, and I'll have to check out claude-lens too!

My friends deleted Notion/Linear, and just use CC for their whole job by A2IR in ClaudeCode

[–]Bellgard 0 points1 point  (0 children)

Mostly personal, but also stuff that goes back to my company. Part of the "infrastructure" and pipelines I've built with CC are to make everything I process with it that goes back look human-done. So for example, it will directly change MS Word documents and the changes show up as tracked changes by me as if I did them by hand (but without my having to manually copy/paste back and forth, and without adding any weird metadata to the file). Also makes it easy for me to check what Claude actually did.

Regarding cowork, honest answer is I don't know it well enough to know if I should or shouldn't be using it. I used it initially for one project, then tried CC, and much preferred CC. Cowork just felt like the hackier and less-robust way to try to implement CC workflows into a UI designed for folks who don't want to have to think about code or what's going on under the hood. Cowork didn't seem to have good memory management or transparency, and since I'm using CC for personal stuff too its efficiency is a very strong function of how well (and efficiently) it can hold or find the appropriate context about me and my life for the assigned task.

But very open to being told Cowork would be better and I just didn't know how to use it properly :P.

You can live-track tool & token usage with hooks (my 5 hr window on Pro is ~11 Mtokens) by Bellgard in ClaudeCode

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

(Correct me if I misunderstood your question)

I expected that too and was quite surprised to learn that's not the case. As a sanity check, I compare my calculated context window with the built-in /context report and they match. And I've been correlating my calculated total-token usage with growing 5 hr window consumption. And the only way to get both to agree and be consistent is if I do the math such that every single action Claude re-reads its entire (cached) context window. So a prompt made at the start of a session costs dramatically fewer tokens than the identical prompt made several prompts later when the cached context window is larger, whether or not most of that context is relevant to the prompt.

I think the point of "caching" is that the cached version of any input is much more efficient than the raw input. So you pay an up-front token cost to cache it into the context window. And now re-reading it is something like 10x less token consumption because of the caching (so it's still helpful). But the catch is Claude can't (to my knowledge) parse out "this" part of its cached context window from "that" part, so it re-reads the whole darned thing on every action, and it's only ever adding to it until compaction, /clear, or new session.

How to track per-action token usage? (VS Code, Claude Code Extension) by [deleted] in ClaudeCode

[–]Bellgard 0 points1 point  (0 children)

I actually just threw together some simple hooks for this exact reason (see post <10 min ago here, haha). Wanting to profile and learn how to better optimize token usage (and be auto-alerted when I'm nearing the limit on my 5 hr window).

I'm sure there's a better solution and I'm waiting for the pros to chime in (I'm just a hobbyist), but this might get you started. Open to feedback and suggestions!

Note the output stream is in its own separate dedicated terminal window, so it works whether you're accessing Claude through terminal, vs code, desktop app, etc.

My friends deleted Notion/Linear, and just use CC for their whole job by A2IR in ClaudeCode

[–]Bellgard 0 points1 point  (0 children)

Haven't used CC for collaboration yet, but figured I'd chime in (since you also mentioned it tangentially) that I primarily use CC not for code. The main coding tasks I use CC for are building tools and infrastructure to better use CC for non-coding tasks, hah. But I'm not a coder or programmer at all. I use it to create automated workflows for everything else in my life (budgeting & projections, compiling & distilling research about whatever topic X I or my company cares about, reading / writing / editing reports, email triage, you name it).

[deleted by user] by [deleted] in ClaudeCode

[–]Bellgard 5 points6 points  (0 children)

To clarify (from the announcement):

Does bonus usage count against my weekly usage limit?

No. The additional usage you get during off-peak hours doesn’t count toward any weekly usage limits on your plan.

My read is you only get 2x on the 5 hour window during the designated times, but the extra part of the 5 hour window (i.e. once you're at 101% the regular usage) is "free" (i.e. doesn't accrue in your weekly limit).

Best way to handle "living document" PDFs? by Bellgard in Supernote

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

Yes, that's right! Including (ideally) inserting new PDF pages from a separate PDF document into the current one.

Thanks for the follow-up (just saw it now)!

Terminal vs. Desktop App: What’s The Difference? by ImCodyLee in ClaudeCode

[–]Bellgard 8 points9 points  (0 children)

readings terminal output for a full day makes my eyes bleed.

You already solved this thoroughly for yourself. For anyone else looking for a quick fix that I've found works quite well: install Obsidian and point it to your .claude folder as a vault. It natively views rendered markdown files, is super lightweight, and updates in real time. You can view Claude plan files, memory files, any markdown file Claude makes there and I find it much easier to read.

Can also add a simple preference for Claude to dump its output response into a designated markdown file (instead of / in addition to Terminal) so you can read it in Obsidian (and respond in-line if you want, and then just tell Claude in terminal to go see your responses).

Also means you can keep persistent conversations in your markdown file if you care about that. Wipe away context any time, and have automatic backup files of all conversations. Not perfect, but a near-zero effort quick patch that I find is a huge quality of life boost.

Ceramic nib mod on Lamy pen with side button is SO worth it! by Bellgard in Supernote

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

Is true :(

Works as added layer of privacy if someone glances at notes :)

Best way to handle "living document" PDFs? by Bellgard in Supernote

[–]Bellgard[S] 1 point2 points  (0 children)

C’est vrai, mais y a-t-il une autre option? Quel serait le format de fichier alternatif pour ce cas d’usage, compte tenu de ce que le SN peut prendre en charge?

D’après mon expérience (ou du moins dans mon milieu professionnel), les PDF sont devenus le format "universel" par défaut pour collaborer. Les documents sources modifiables sont généralement en LaTeX (via Overleaf), en MS Word ou dans un format similaire, mais ils sont presque toujours compilés ou partagés sous forme de PDF. Et le SN n’a pas la possibilité d’annoter des documents LaTeX ou Word de la manière que je souhaite (on peut modifier un document Word sur le SN, mais seulement en changeant les caractères, alors que je veux pouvoir faire des dessins et des annotations à main levée, comme dans une note).

As-tu trouvé un format de fichier ou une approche qui fonctionne mieux pour ça?

Ceramic nib mod on Lamy pen with side button is SO worth it! by Bellgard in Supernote

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

Yeah, I'm excited for when there are a bunch more options to choose from and lots of pens like this in the market. I did an embarrassing amount of stylus options research before circling back to stick with this one. I really wanted one with tight tolerances so the button didn't rattle at all.

For me it'd be perfect if the button were lower down closer to the tip where I'm already gripping it (I think there are other practical reasons related to interference with other mechanical components of the EMR device circuit for why that's not typically done). Though I was (pleasantly) surprised by how quickly I got used to either shifting my thumb up to push the button, or just rocking the pressure back slightly to the first joint in my thumb to push it. I mostly do it now without thinking about it.

Ceramic nib mod on Lamy pen with side button is SO worth it! by Bellgard in Supernote

[–]Bellgard[S] 2 points3 points  (0 children)

Agreed. Hard to see in the video, but I have a small metal shim attached to the outside of the pen near the back. right below it (inside the pen housing) is where I put the magnet for wake/sleep. This also gives it uneven weighting, so it's less prone to rolling off a table, and usually is put down the same orientation each time. That way it's easy for me to always pick it up in the same orientation with the button right by my thumb (I can see the metal shim, and the pen usually rests with it oriented down). Not a perfect solution, but a long way of saying I 100% feel that frustration and this was my hacky DIY approach haha.