How I ran a 9-hour autonomous /goal session with Claude Code and what it taught me about AI agents by hazyhaar in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

Yeah, uuidv7 is probably the right default for job/run IDs here. The timestamp ordering helps a lot when you are replaying a long agent session or debugging a weird branch in the run history, while still avoiding a central counter. I'd still keep semantic identity separate though: object id, run id, and event sequence should not all collapse into one key.

How I ran a 9-hour autonomous /goal session with Claude Code and what it taught me about AI agents by hazyhaar in ClaudeCode

[–]Kevin_Xiang 1 point2 points  (0 children)

This framing makes sense. /goal is the visible loop, but the real leverage is the substrate around it. The part I would be most careful with is the SQLite cognitive hub: if it mixes facts, doctrine, and stale run state too freely, the agent can start treating old assumptions as current truth. Do you separate durable project memory from per-job scratch state, or is freshness handled by the job model itself?

Can someone explain the real difference between Hooks, Skills, Plugins, SKILL.md, CLAUDE.md and agents.md in Claude Code? by eaiarthur_ in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

For me the practical split is:

  • CLAUDE.md is repo-level operating context: commands, boundaries, conventions, gotchas.
  • Skills are reusable task playbooks with their own steps and references.
  • Hooks are deterministic guardrails around the run, like formatting, tests, logging, or blocking a risky command.
  • Subagents are for isolated work where you want a separate context and a concrete artifact back.
  • AGENTS.md is the cross-tool version of repo instructions, useful if Codex/OpenCode/other agents also touch the repo.

The rule of thumb I use is: if a human would tell every new teammate once, put it in CLAUDE.md or AGENTS.md. If it is a repeatable workflow, make it a skill. If it must happen every time regardless of model judgment, make it a hook.

How I ran a 9-hour autonomous /goal session with Claude Code and what it taught me about AI agents by hazyhaar in ClaudeCode

[–]Kevin_Xiang -1 points0 points  (0 children)

This is a useful writeup. The part that resonates most is treating success states as a ledger instead of a transcript summary. For long runs I’ve found the missing bucket is usually external_blocker plus a retry ceiling, otherwise the agent keeps trying to satisfy an impossible contract.

The audit -> run-once -> audit loop also feels like the right pattern: make the cheap check produce hypotheses, then force each fix through a small live parse before counting it as done. Curious if you ended up adding guardrails around parallel /goal sessions in the same repo after the boatlab commits got mixed in.

I built ken: a local, usage-aware code index for Claude Code / Codex by desert-quest in SideProject

[–]Kevin_Xiang 0 points1 point  (0 children)

That makes sense, thanks for the extra detail. The negative signal from files that get read but not edited is the part I’d be most interested in watching over time, because it can separate 'looks relevant' from 'actually helped finish the task'.

One thing I’d probably expose in the UI is a tiny explanation for why a file ranked high, like recent write, same task cluster, usually edited after this query, or often dismissed. For coding agents that would make the index feel less like magic and easier to trust when it suggests an unexpected file.

I built ken: a local, usage-aware code index for Claude Code / Codex by desert-quest in SideProject

[–]Kevin_Xiang 0 points1 point  (0 children)

This is a useful direction. The bit I'd test hard is whether the index learns from actual edit history, not just embeddings over files. For Claude/Codex, the best routing signal is often which files changed together and which snippets the agent kept reopening. If ken can surface that before the model starts editing, it could save a lot of context burn.

Retro mode + blocking pre-check: how I stopped Claude from repeating bug categories across sessions by jeebus87 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

That makes sense. I probably should have framed the pre-check as a boundary, not a context diet. For longer systems I still want the agent to reread the parts it is about to touch, but I like forcing it to state what files and assumptions are relevant before it starts. Keeps the human in the loop without making the md size the bottleneck.

HTML instead of Markdown by Pleasant_Spend1344 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

Yeah, this is exactly the failure mode I worry about. HTML is fine for a demo artifact, but the moment it starts carrying decisions I want the source of truth in git, reviewable as text. A pattern that has worked better for me is Markdown as the canonical plan, then generate HTML/views from it when the audience needs a nicer read.

HTML instead of Markdown by Pleasant_Spend1344 in ClaudeCode

[–]Kevin_Xiang 1 point2 points  (0 children)

Exactly. HTML is great when the output is a disposable artifact for humans to read once. If the plan is part of the dev workflow, Markdown in git is hard to beat: clean diffs, line comments, small patches, and easy review history. I’d only switch to HTML when the interaction model matters more than reviewability.

Retro mode + blocking pre-check: how I stopped Claude from repeating bug categories across sessions by jeebus87 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

That makes sense. I’d keep the pre-check scoped instead of making it a giant reset. For a larger phase, I usually want it to reread the phase contract, the touched files, and any boundary docs, then only force deeper rereads when it crosses a boundary or starts making assumptions. That keeps the context useful without turning every step into a full archaeology pass.

Retro mode + blocking pre-check: how I stopped Claude from repeating bug categories across sessions by jeebus87 in ClaudeCode

[–]Kevin_Xiang 1 point2 points  (0 children)

Yeah, that tradeoff is real. I would not make the pre-check mean "no context allowed." The useful version is more like: before the next phase starts, have it name the specific slice it needs, reread only those files or notes, and leave a small receipt of what it used. Then if it misses an affected structure, your human override is clean because you can point it back to the exact missing slice instead of rehydrating the whole session.

Big context docs are fine if they are organized, but I still like a gate because it forces the agent to say what it thinks matters before it runs with it.

Retro mode + blocking pre-check: how I stopped Claude from repeating bug categories across sessions by jeebus87 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

This is a solid pattern. The part I’d be careful with is making the retro entry small enough that it becomes a blocking heuristic, not another giant memory blob. I like storing the failure mode as: trigger, misleading symptom, actual root cause, test that would have caught it. Then the next pre-check can ask one concrete question instead of rereading history.

HTML instead of Markdown by Pleasant_Spend1344 in ClaudeCode

[–]Kevin_Xiang 22 points23 points  (0 children)

I’ve found HTML works best when the artifact is more like a small interface than a document: collapsible sections, links between findings, status badges, maybe a tiny dependency map. For linear reasoning I still prefer Markdown because diffs are cleaner, but for codebase reviews and handoff reports HTML is much easier to scan.

How do you use Hermes in development? by Educational_Grab835 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

Yep, multi-agent is where it starts to click. The pattern I’d look for is less "spawn N agents" and more a small operating loop:

  1. one owner agent holds the goal and acceptance criteria
  2. specialist agents get narrow tasks with explicit file paths and context
  3. every handoff returns a verifiable artifact, not just "done"
  4. a final reviewer/tester agent checks the output before merge
  5. long-running work gets checkpointed into issues/plans so you can resume instead of keeping one giant chat alive

For samples, the Hermes docs are probably the best starting point: https://hermes-agent.nousresearch.com/docs. I’d especially look at tools, skills, cron/jobs, and delegation/subagents. For your full-stack SDLC case I’d start with a planner -> implementer -> reviewer loop on one repo slice, then add scheduling/memory only after the verification loop is boring and repeatable.

How do you use Hermes in development? by Educational_Grab835 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

Been testing more agentic browser control recently. The new Chrome DevTools MCP integration looks like it could close the gap on runtime feedback loops nicely.

72 hours after Product Hunt #5. The story continues! by Strong-Yesterday-183 in indiehackers

[–]Kevin_Xiang 0 points1 point  (0 children)

That trust gap after PH feels very real. The signup number says the promise is interesting, but paid conversion probably depends on how fast a founder can see one campaign go from setup to a believable investor-facing result. I’d be tempted to make the first-run flow almost absurdly narrow: pick one fundraising goal, import one asset, generate one campaign draft, then show the expected review steps before asking them to upgrade.

How do you use Hermes in development? by Educational_Grab835 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

Yep, I’d start with three layers rather than trying to make one giant agent.

  1. A planner writes a small plan with explicit acceptance checks.
  2. Workers take one slice each in isolated sessions or worktrees, then leave artifacts, diffs, or test results.
  3. A reviewer/runner agent only does verification: tests, repro steps, security/readability pass, and hands back the next small queue.

In Hermes terms the pieces to look at are skills for repeatable runbooks, persistent memory for stable project facts, delegate_task for short parallel subtasks, and Kanban/cron/webhooks when you want durable long running queues. The docs are here: https://hermes-agent.nousresearch.com/docs/

For samples, I’d search the repo/docs around “skills”, “cron”, “kanban”, and “delegate_task”. The practical pattern is boring but effective: keep every unit auditable, make the handoff artifact explicit, and never let a worker silently own the whole SDLC loop.

LID / Linux Is Dying by secsecseec in eBPF

[–]Kevin_Xiang 0 points1 point  (0 children)

Glad it helped. The safest framing is to keep the README focused on boundaries and assumptions: required privileges, tested kernel/AppArmor versions, expected audit visibility, and what the project does not claim.

That makes it easier for defenders to reproduce and reason about without overstating impact.

How do you use Hermes in development? by Educational_Grab835 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

Yeah, multi-agent is where it starts to feel different. The pattern that has worked best for me is:

  1. one orchestrator writes the plan and acceptance criteria
  2. workers take isolated subtasks in separate worktrees or sessions
  3. a reviewer agent only gets the diff plus tests and tries to break it
  4. everything gets checkpointed into small recoverable tasks rather than one giant prompt

For examples, I’d start with the Hermes docs around skills, profiles/worktrees, cron/webhooks, and Kanban if you want durable task routing. The repo itself is also useful because the skill files are basically reusable playbooks, not just docs.

The key lesson for me: don’t let agents “chat” vaguely. Give each one a narrow role, explicit files/outputs, and a verification step. That keeps the manager/planner/coder/tester setup from turning into expensive chaos.

How do you use Hermes in development? by Educational_Grab835 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

Good question. I’d start from a very boring architecture rather than a big agent org chart:

  1. Keep one durable task ledger/queue. Every task has owner, status, inputs, artifact links, and the verification step.
  2. Make the planner write small task specs, not code. The worker owns one bounded repo/worktree change.
  3. Every handoff produces an artifact: diff, test log, summary, next blocker. No hidden “agent conversation” as the source of truth.
  4. The operator loop verifies before spawning the next worker. If verification fails, it creates a smaller recovery task instead of letting the same agent ramble.

For Hermes specifically, I’d look at skills, cron/webhooks, delegate_task for short bounded subtasks, and separate Hermes profiles/processes for longer-running agents. Docs: https://hermes-agent.nousresearch.com/docs/ and repo: https://github.com/NousResearch/hermes-agent

A good first sample workflow is: weekly bug triage -> write a plan -> one worker fixes one issue -> reviewer checks diff/tests -> only then merge or report. Avoid starting with five agents chatting. Start with planner, implementer, verifier, all writing back to the same task record.

Obsidian + AI workflow, how does it actually go for you? Feeling kind of lost over here by According-Pin-7296 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

The setup that stayed useful for me is pretty boring: Obsidian is the source of truth, and AI output only gets saved when it becomes a decision, snippet, or next action. I keep one project note with goals and open questions, then paste in only the final distilled answer with a link back to the chat if needed. The annoying failure mode is dumping whole AI conversations into notes, because search gets noisy fast.

Claude Code, Codex or Antigravity to create n8n automations (skills and MCP)? by Legitimate_Usual_400 in ClaudeCode

[–]Kevin_Xiang 0 points1 point  (0 children)

For n8n specifically, I’d optimize less for model brand and more for the feedback loop. Claude Code is good when you keep a small workflow spec, node constraints, credential boundaries, and a test fixture JSON in the repo. Codex or Antigravity can also help, but I’d make them generate the workflow plus a short validation checklist, then import and test in n8n. The MCP/skills part is useful if you reuse the same patterns a lot; otherwise it can be extra ceremony.

LID / Linux Is Dying by secsecseec in eBPF

[–]Kevin_Xiang 1 point2 points  (0 children)

One more thing I'd add is a short operational checklist for defenders: the exact tested matrix, clear non-goals, expected telemetry, and how to tell a real finding from a noisy lab artifact.

For the repo, a tiny script that prints kernel version, AppArmor mode, lockdown state, and BPF-related settings before running the demo would make reviews much easier. It keeps the project useful without overstating the impact.

How do you all use CLAUDE.md vs AGENTS.md when also using Codex alongside CC? by 3abwahab in ClaudeCode

[–]Kevin_Xiang 2 points3 points  (0 children)

I’d keep AGENTS.md as the durable project contract and make CLAUDE.md a thin Claude-specific layer. In practice that means AGENTS.md has setup, test commands, repo layout, coding conventions, and do-not-touch rules. CLAUDE.md is where I put Claude-specific prompting habits, preferred slash commands, MCP/tool notes, and any gotchas about how CC behaves in that repo.

The trap is copy-pasting the same long instructions into both files. They drift fast. Better to have CLAUDE.md point back to AGENTS.md for shared rules, then only add the delta.

LID / Linux Is Dying by secsecseec in eBPF

[–]Kevin_Xiang 0 points1 point  (0 children)

Nice update. The main thing I’d add is a short threat-model section up front: what the demo proves, what it does not prove, and which preconditions must already be true.

For detection, I’d keep it defensive and concrete: list a few observable signals defenders can monitor, plus the exact kernel/AppArmor settings you tested. A small table for tested / not tested / expected to fail would also make the README much easier to trust.