Better HN
topnewbestaskshowjobs
Log inSign up

AffableSpatula

619 karma · joined Jan 31, 2011 (15y ago) · 156 submissions

affable, but not actually a spatula.
Submissions

comment 5mo ago · link · parent

Sync your Claude Design projects into your repos (list/pull/push) straight over the API; perfect for scripts and there's a skill for agents too.

`npx claude-design` `npx skills add mikekelly/claude-design`

2.

Gap: Give AI agents secure access to your accounts – without sharing credentials(github.com ↗)

1 points · by AffableSpatula · 9mo ago · discuss

comment 10mo ago · link · parent

You're absolutely right! I apologise — hopefully you can forgive me.

comment 10mo ago · link · parent

yep this is exactly how I use the main agent too, I explicitly instruct to only ever use background async subagents. Not enough people understand that the claude code harness is event driven now and will wake up whenever these subagent completion events happen.

comment 10mo ago · link · parent

Claude already had subagents. This is a new mode for the main agent to be in (bespoke context oriented to delegation), combined with a team-oriented task system and a mailbox system for subagents to communicate with each other. All integrated into the harness in a way that plugins can't achieve.

comment 10mo ago · link · parent

I don't know what you're referring to but I can say with confidence that I see more efficient token usage from a delegated approach, for the reasons I stated, provided that the tasks are correctly sized. ymmv of course :)

comment 10mo ago · link · parent

I think you've misunderstood what this is.

comment 10mo ago · link · parent

Task sizing is important. You can address this by including guidance in the CLAUDE.md around that ie. give it heuristics to use to figure out how to size tasks. Mine includes some heuristics and T shirt sizing methodology. Works great!

comment 10mo ago · link · parent

a similar question was asked elsewhere in the thread; the difference is that this is tightly integrated into the harness

comment 10mo ago · link · parent

I've seen more efficient use of tokens by using delegation. Unless you continually compact or summarise and clear a single main agent - you end up doing work on top of a large context; burning tokens. If the work is delegated to subagents they have a fresh context which avoids this whilst improving their reasoning, which both improve token efficiency.

comment 10mo ago · link · parent

it's my repo - it's a fork of cc-mirror which is an established project for parallel claude installs. I wanted to take the least disruptive approach for the sake of using working code and not spelunking through bugs. Having said that - if you look through the latest commits you'll see how the patch works, it's pretty straightforward - you could do it by hand if you wanted.

comment 10mo ago · link · parent

yeah I tend to agree. They're must be reaching the point where they can automate the analysis of claude code prompts to extract techniques and build them directly into the harness. Going up against that is brave!

comment 10mo ago · link · parent

Delegation patterns like swarm lead to less token usage because:

1. Subagents doing work have a fresh context (ie. focused and not working on the top of a larger monolithic context) 2. Subagents enjoying a more compact context leads to better reasoning, more effective problem solving, less tokens burned.

comment 10mo ago · link · parent

The feature is shipped in the latest builds of claude code, but it's turned off by a feature flag check that phones home to the backend to see if the user's account is meant to have it on. You can just patch out the function in the minified cli.js that does this backend check and you gain access to the feature.

comment 10mo ago · link · parent

ha! The default system prompt appears to give the main agent appropriate guidance about only using swarm mode when appropriate (same as entering itself into plan mode). You can further prompt it in your own CLAUDE.md to be even more resistant to using the mode if the task at hand isn't significant enough to warrant it.

comment 10mo ago · link · parent

The difference is that this is tightly integrated into the harness. There's a "delegation mode" (akin to plan mode) that appears to clear out the context for the team lead. The harness appears to be adding system-reminder breadcrumbs into the top of the context to keep the main team lead from drifting, which is much harder to achieve without modifying the harness.

17.

Claude Code's new hidden feature: Swarms(twitter.com ↗)

521 points · by AffableSpatula · 10mo ago · 335 comments

18.

Beyond Ralph – Experiments in Claude Code Context Wrangling(twitter.com ↗)

1 points · by AffableSpatula · 10mo ago · discuss

19.

Show HN: Overwatch.nvim – Neovim plugin for collaborating with AI coding agents(github.com ↗)

2 points · by AffableSpatula · 10mo ago · discuss

20.

Show HN: Promode – Claude Code meta for its hidden "Team Mode"(github.com ↗)

2 points · by AffableSpatula · 10mo ago · discuss

21.

Show HN: Promode for Claude Code(github.com ↗)

1 points · by AffableSpatula · 11mo ago · discuss

comment 2y ago · link · parent

"You can build your own thing using card emulation via apps, but you will take all the risks." right! This is exactly what I've developed. I've built a new NFC application, with its own PKI infrastructure, that's deployed onto users' mobile devices via an app install. It works over APDU, but it would be more efficient if A1 was made available by the two major mobile OS. It would likely shave off >10% of the total time to complete which makes a material difference to the failure rate (ie. customer's lifting away too early or other interference) and therefore improves the overall UX.

comment 2y ago · link · parent

Hi there, author here! I think you've highlighted a couple of things worth clarifying in the doc:

1. Apple having just announced it is opening up NFC to developers means that both major mobile platforms can now act as responding devices; so widely distributing new NFC protocols to consumer devices has become very fast and inexpensive through an update to the OS or installing a third party app.

2. Mobile consumer hardware is sufficiently fast for the application operations (eg. Cryptographic operations) so that these roundtrip and metadata overheads of APDU do actually make a meaningful contribution to the total time it takes to complete a transaction. Experiencing this in my development efforts here was the motivation for designing this alternative.

3. A1 is interoperable with APDU infrastructure and can therefore be adopted by terminals immediately, since reader terminals can attempt an A1 initiation and any APDU response from a legacy device is considered a failure; at which point the terminal can fall back to its default APDU message exchange.

I will update the doc to clarify these points, what do you think?

Given your experience I'd be interested in your detailed feedback, maybe we could jump on a call soon if you have time?

24.

Show HN: A1 – Faster, Dynamic, More Reliable NFC Transactions(github.com ↗)

29 points · by AffableSpatula · 2y ago · 4 comments

123456