75 Matching Annotations
  1. Aug 2026
    1. Maximizing the value of your Claude Code sessions
      • Token Pricing & Cost Mechanics:

        • Cost is driven by inference time across model size, token direction, and prompt caching.
        • Output (decode) tokens cost roughly 5x more than input (prefill) tokens because they require sequential step-by-step generation.
        • Prompt cache hits cost only 0.1x of standard input pricing, while writing to the cache costs up to 2x (billed once per token).
      • Protecting the Prompt Cache:

        • Changing models (/model), effort levels (/effort), or switching on fast mode mid-session invalidates cache prefixes and forces a full re-prefill at normal prices.
        • Prompt caches expire after 1 hour on subscription plans (5 minutes by default on API keys unless ENABLE_PROMPT_CACHING_1H=1 is set); running /compact before stepping away is much cheaper while the old context is still warm.
        • Use /rewind instead of /compact to drop recent failed turns without discarding prior cached tokens.
      • Controlling Context Growth & Tool Bloat:

        • Direct File References: Use @-mentions (e.g., @utils.ts) on first reference to attach files immediately and avoid separate Read tool calls or search greps.
        • Silencing Command Output: Append quiet flags to frequently run commands (e.g., test runners) or configure them directly in CLAUDE.md to prevent terminal spam from lingering in the context for all subsequent turns.
        • Subagents & Modular Sessions: Offload verbose, one-off tasks (like parsing large logs) to isolated subagents, run /context to remove unnecessary MCP tools, and execute /clear between distinct development tasks.

      Hacker News Discussion

      • Handoff Skills and Document-Driven Development:

        • Commenters highlight custom skills like /handoff and structured Markdown-based plans as superior alternatives to native /compact.
        • Dumping state, architectural decisions, and checklists into committed project files enables clean session restarts, seamless switching between AI models, and durable project memory.
      • Fatigue Over "Token Accounting" & Prompt Engineering:

        • Users express frustration over having to micro-manage cache lifespans, command flags, and session lengths, feeling that agent harnesses should handle cost and memory optimization automatically.
        • Short cache TTLs are noted as punishing workflows where developers step away while the agent computes.
      • Tooling Bugs & UI Friction:

        • Community members discuss issues with file @-mentions malfunctioning in the desktop app versus the CLI.
        • Frustrations are voiced over GitHub repository issue bots auto-closing legitimate bug reports as stale.
    1. Why does Opus 5 feel worse to work with?
      • Capability vs. Usability Paradox:

        • Opus 5 is objectively more capable and benchmark-competitive than predecessors (Opus 4.7, Opus 4.8, and Fable), yet it feels significantly worse in daily interactive workflows.
        • Prior models were more collaborative—they asked clarifying questions when requirements were ambiguous, verified assumptions, and did not unilaterally alter project plans.
      • Need for Constant Babysitting:

        • Opus 5 tends to make bold, unverified assumptions and pushes forward without user confirmation, forcing users to constantly monitor and intervene.
      • Underlying Causes:

        • Benchmarking & RLVR Incentives: Benchmark tasks are designed to be self-contained and score single-pass correctness, penalizing models that pause to ask clarifying questions.
        • Autonomy Goals: Frontier labs prioritize training self-directed, self-improving agents designed for autonomous workflows over collaborative ones.
        • Real-World Mismatch: Production software engineering involves implicit constraints and ambiguous context that cannot be fully captured upfront, making clarification-seeking behavior essential.

      Hacker News Discussion

      • Formulaic Writing & Stylistic Idiosyncrasies:

        • Commenters note repetitive rhetorical patterns in recent post-training (e.g., rephrasing prompts, predictable essay structures, overuse of terms like "load-bearing," and excessive em-dashes).
        • Unlike humans who pick up subtle conversational feedback and adapt, LLMs lack real-time social cues to temper repetitive linguistic mannerisms.
      • Agentic Coding Issues & Comment Bloat:

        • Users report runaway verbosity in codebases, such as agents reinforcing verbose comment styles across subagents until comments outnumber code 3:1.
        • Autonomous decision-making without check-ins becomes particularly problematic when distributed across delegated subagents.
      • Post-Training and Sycophancy:

        • Several participants attribute these behaviors to post-training optimizations aimed at producing seemingly authoritative or sycophantic responses rather than concise, collaborative assistance.
    1. L8 Principal's Agentic Engineering Workflow
    2. L8 Principal's Agentic Engineering Workflow

      L8 Principal's Agentic Engineering Workflow — Detailed Summary

      • Core Mindset & Shift to "Captain / Engineering Director"

        • Role Transition: Stop acting like a line-by-line developer manually reviewing code diffs, which creates a personal velocity bottleneck. Instead, operate as an Engineering Director/Captain—setting direction, maintaining quality bars, and managing AI agent crewmates.
        • High Velocity Output: Ships 40–50 fully tested, production-ready PRs per day (rather than simple "vibe-coding" demos) by focusing on high-level planning upfront and automated quality validation at the end.
        • Correcting AI Biases: Frontier models naturally overestimate human development time (e.g., estimating days/weeks for a project an agent can build in minutes) because they are trained on human data. Global instructions must explicitly instruct agents not to over-weight development cost in technical decision-making, preventing them from picking low-quality, cheap shortcuts.
        • Bug Reproduction Protocol: Forces agents to reproduce bugs end-to-end (E2E) as a real user would experience them before attempting a fix, rather than relying solely on superficial unit tests.
      • Terminal-Centric Flow State

        • Hands-on-Keyboard Discipline: Doing work in the terminal eliminates mouse interaction, preventing context-switching and preserving flow state.
        • Cross-Device Consistency: Allows the exact same development workflow and persistent session setup to run across Mac, Windows, Linux, laptops, and mobile phones.
      • Agent Onboarding & Knowledge Architecture

        • Memory Hierarchy:
          • Global Memory (~/.claude/CLAUDE.md / ~/.config/agents/agents.md): Minimal (~27 lines) cross-project personal preferences loaded into every system prompt. Kept strictly concise to avoid unnecessary token burn.
          • Project Memory (CLAUDE.md / agents.md): Captures repository architecture, domain terminology, testing setups, and collective learnings from past errors.
          • Symlinking Strategy: Uses symbolic links to point harness-specific memory files (CLAUDE.md) to generic agent configuration files (agents.md), keeping the setup agent-agnostic.
        • Skills via Progressive Disclosure: Moves conditionally useful instructions (e.g., E2E testing setups) out of memory files into modular skill files. Skills only load a tiny description field into the initial system prompt, fetching full instructions only when invoked.
        • Skill Benchmark Warning: Warns against blindly installing popular internet skills (e.g., highly-starred repositories). Benchmarking shows unverified skills can increase token consumption by 5%+ and degrade task success rates while introducing security/credential risks.
      • Prompting, Tooling & Agent Ergonomics

        • Voice-First Input: Uses local voice transcription (3x faster than typing) for complex prompts, reserving manual typing strictly for exact file paths and URLs.
        • Agent Ergonomics (AXI Standard): Replaces standard MCP (Model Context Protocol) servers with specialized CLI tools and design standards optimized for agents. Benchmarks demonstrate that GitHub MCP servers can cost 3x more tokens and double latency compared to CLI-based interfaces.
      • Execution, Planning & Automated Quality Assurance

        • Visual Planning (Lavish): Replaces dense terminal text walls during project planning by spinning up interactive, HTML/artifact-based design systems directly in the browser to visualize choices, annotate UI feedback, and log decisions.
        • Adversarial Post-Processing (No Mistakes): Orchestrates an isolated Git worktree pipeline that rebases code on main, resolves merge conflicts, runs an adversarial agent review in a clean context window, executes E2E validation while logging visual evidence (screenshots/video/logs), updates documentation, and babysits the PR through CI/CD merge.
        • Overnight Autonomous Loops (Good Night Have Fun): Runs long-horizon, iterative tasks (e.g., E2E usability testing, test coverage improvement, metric optimization) under precise iteration caps, token limits, and strict stopping conditions without risking quota burn.
      • Multi-Agent Scale & First Mate Orchestration

        • Workspace Isolation (Treehouse): Eliminates manual Git worktree creation overhead (git worktree add/remove) by dynamically provisioning and reusing isolated worktree directories for concurrent agent sessions.
        • First Mate Orchestration: Uses a top-level managerial "First Mate" agent to parse complex, multi-repository prompts, break them down into sub-tasks, delegate them across background agent sessions in parallel worktrees, and coordinate issue triaging.

      Dedicated Tools & Software Stack

      • Terminal Emulator & Shell Setup

        • WezTerm: High-performance, cross-platform (Mac/Windows/Linux) terminal emulator fully configured dynamically via Lua scripts (wezterm.lua).
        • tmux: Terminal multiplexer used to manage multi-pane layouts and background tabs for parallel agent sessions; preserves session state across device connections.
      • Code Editor & Voice Inputs

        • Neovim: Modal, keyboard-driven text editor optimized with plugins for fast fuzzy file finding, code searching (ripgrep), and precise navigation.
        • Open Superwhisper: Free, open-source local voice-to-text application running OpenAI Whisper locally on-device. Uses custom initial prompts to recognize technical vocabulary, URLs, and project names cleanly.
      • Agent Harnesses

        • Claude Code: Primary agent harness used in the demonstration; noted for out-of-the-box defaults and feature richness.
        • Codeex CLI: Open-source, Rust-based fast CLI agent harness capable of inspecting its own source code for self-debugging.
        • Pi Coding Agent: Minimalist, highly extensible coding agent harness focused on customization.
        • Open Code: Model-agnostic agent harness featuring a smooth Terminal User Interface (TUI) and multi-model integrations.
        • Vercel Skills CLI (npx skills): Command-line tool used to search, install, and manage agent skills across various agent harnesses.
      • Author's Open-Source Agent Ecosystem

        • AXI Standard (axi.md): Agent Ergonomics design standards and optimized CLI tooling catalog (e.g., GitHub AXI, Chrome DevTools AXI) designed to minimize token usage and latency.
        • Lavish AXI: Visual artifact and interactive HTML planning editor that replaces text walls in the terminal with rich UI components for concept review and annotation.
        • No Mistakes: Automated CI/PR pipeline that handles isolated worktree rebasing, adversarial code reviews, E2E evidence capture (screenshots/video), doc updates, and PR babysitting.
        • Good Night Have Fun: Autonomous long-running loop runner with customizable token caps, iteration limits, and stop conditions for overnight or heavy iterative work.
        • Treehouse: Automatic Git worktree manager that manages dynamic, reusable workspace directories for parallel agent sessions.
        • First Mate: Managerial meta-agent that accepts high-level natural language instructions, spawns sub-agents across isolated worktrees, and manages multi-task orchestration automatically.
    1. Message your other Claude Code sessions
      • Overview & System Requirements:
        • Allows independent Claude Code sessions to communicate across local terminals, distinct machines, or web instances.
        • Requires Claude Code v2.1.224 or later running on macOS or Linux (active by default).
        • Driven automatically by Claude using two core tools: ListAgents (for discovery) and SendMessage (for delivery).
      • How to Use Cross-Session Messaging:
        • Listing Active Sessions: Use the /list-agents command to inspect reachable local sessions, subagents, and Remote Control peers along with their assigned names.
        • Naming Sessions: Use /rename or launch with --name <name> to give sessions distinct identifiers (otherwise auto-named based on the working directory, e.g., myapp-3f).
        • Sending Messages via Natural Language: Prompt Claude directly—you do not run SendMessage yourself.
          • Example: "Ask the session running in my other terminal whether the migration finished"
          • Example: "Explain what we just did to the session working on the payments API"
        • Interacting Across Machines: Connect sessions using Remote Control to reply across machines or to web sessions (remote instances can receive replies, but cannot initiate new outbound exchanges).
      • Inbound Message Controls & Governance:
        • Manage incoming messages using the crossSessionInbound configuration:
          • accept: Automatically delivers inbound messages to Claude.
          • hold: Displays a approval prompt before message delivery.
          • refuse: Rejects and drops incoming messages automatically.
        • Safety Boundaries: Inbound messages arrive as plain text; they cannot execute slash commands, grant permissions, or alter system configurations (CLAUDE.md).
    1. The Best Local Agentic Coding Workflow (Complete Guide)

      Comprehensive Guide: Local Agentic Coding Workflow & Model Selection

      1. Core Workflow Architecture & Mechanics

      • Hardware & VRAM Dynamics:

        • Local LLMs run on GPU VRAM (or Unified Memory on Apple Silicon).
        • Exceeding GPU memory overflows data into system RAM, dropping speeds significantly (e.g., from ~120 tokens/sec down to ~20 tokens/sec).
        • Parameter size and context window scale directly with VRAM consumption.
      • Quantization & Optimization:

        • Quantization (such as Q4 4-bit) compresses model weights to reduce VRAM requirements by 50-75% with minimal accuracy loss.
        • Mixture of Experts (MoE) architectures load active parameter layers into VRAM while offloading inactive/less critical layers to CPU/RAM.
      • Multi-Tiered Tool Infrastructure:

        • LM Studio (Inference Engine): Local runner exposing an OpenAI-compatible API endpoint (/v1) with fine-grained GPU offloading controls.
        • Continue Extension (VS Code): Handles rapid inline autocompletion using small, low-latency models (~1.5B parameters) with response times under 250ms.
        • GitHub Copilot / VS Code Insiders: Integrates local models via Custom OpenAI Endpoints for full agentic codebase modification.
        • Pi CLI / Qwen Code (Terminal Agent): Terminal-based open-source harness connecting to local endpoints for repository analysis, multi-file edits, and bug fixing.

      2. Recommended Software & Models

      • Recommended Software Stack:

        • Host / Engine: LM Studio (for GPU offloading control, quantization loading, and OpenAI API local serving).
        • Code Editor & Autocomplete: VS Code + Continue extension (autocomplete) and VS Code Insiders / GitHub Copilot (custom local agent setup).
        • Terminal Agent Harness: Pi (pi via pi.dev) or Qwen Code CLI for terminal-native, multi-file project execution.
      • Recommended Models:

        • For Autocomplete: Qwen 2.5 Coder 1.5B (Q4/Q8). Requires ~1 GB VRAM, ensuring sub-250ms completion latency.
        • For Agentic Coding & Reasoning: Qwen 3.6 35B-A3B (MoE with 3B active parameters) or Qwen 2.5 Coder 32B / 14B (Q4 quantization). Chosen for native tool use (function calling), image/vision capability, and multi-step reasoning.

      3. Local Workflow vs. Claude Code Comparison

      • Cost & Execution Limits:

        • Local Setup: 100% Free & Unlimited. No per-token costs, API rate limits, or monthly tier restrictions after initial hardware acquisition.
        • Claude Code: Subscription & API-based. Subject to usage caps, monthly plan costs, or per-token API charges for Anthropic models.
      • Privacy & Security:

        • Local Setup: Fully air-gapped and 100% private. Source code and context never leave your machine.
        • Claude Code: Cloud-dependent. Prompts, code context, and project files are sent to cloud servers for processing.
      • Speed & Performance:

        • Local Setup: Hardware dependent. Fast on small models; larger 30B+ reasoning models run slower on consumer GPUs compared to cloud infrastructure.
        • Claude Code: High speed and throughput powered by managed cloud infrastructure.
      • Ecosystem & Provider Flexibility:

        • Local Setup: Vendor Agnostic. Swap open-source models (Qwen, Llama, DeepSeek) seamlessly inside terminal harnesses or VS Code.
        • Claude Code: Locked Ecosystem. Exclusively tied to Anthropic Claude models and API platform.
      • Architectural Reasoning:

        • Local Setup: Handles small-to-medium tasks and feature additions well, but smaller local models fall slightly short on massive multi-file refactoring compared to top-tier cloud models.
        • Claude Code: High-level architectural reasoning and multi-file refactoring capabilities out-of-the-box.
  2. Jul 2026
    1. How to set up your spare Mac for Claude Code to fully control - a step-by-step guide
      • The guide explains how to convert a spare Mac into an always-on environment fully controlled by Claude Code, enabling "computer use" (screenshots, clicking, dragging) safely.
      • Running Claude Code with the --dangerously-skip-permissions flag on a primary machine carries inherent risk; isolating it on a dedicated device with no sensitive data mitigates these issues.
      • Using actual Mac hardware rather than a container or VM provides the agent access to macOS-exclusive applications and full graphical computer use capabilities (e.g., driving Unity for game development).
      • The setup enables remote control of the agent from a phone via the Claude app or over SSH from a primary Mac.

      Hacker News Discussion

      • Alternative Sandbox Environments: A prominent subset of users argued that dedicated physical hardware is largely unnecessary for agent isolation unless specific graphics/Unity workflows are needed. Commenters shared alternative workflows, such as utilizing libvirt to spin up disposable Linux graphical desktops with Full Root, utilizing simple unprivileged accounts (useradd agent), or using lightweight cross-platform engines like smolvm for egress filtering.
      • Mobile Use Cases and "Vibe Coding": Several power users highlighted that they now bypass traditional IDEs entirely, relying on Claude Code running 24/7 on remote nodes to queue up background analytical workflows, conduct fuzzing protocols, or triage real-time on-call alerts (e.g., checking Datadog/Cloud logs) directly from their phones during weekend transits.
      • Context Window and Token Expense: Users engaged in long-running jobs noted a major limitation: keeping active sessions open for hours results in frequent cache misses on large codebases (500k+ tokens), causing token consumption to escalate quickly. Deleting or recycling sessions periodically is recommended by Anthropic to manage costs.
      • Criticism of Scripted/AI-Generated Content: A few commenters expressed fatigue over the setup guide itself, complaining that the underlying shell scripts felt bloated and heavily AI-generated, making the logic overly dense to review or maintain.
  3. Jun 2026
    1. I design with Claude more than Figma now
      • The author, a designer at Jane Street, now primarily uses Claude Code rather than Figma to design and prototype new features.
      • Instead of creating traditional spec documents, Figma mockups, and proposals, the new workflow involves writing a problem description, opening an editor, and using Claude to build an interactive prototype inside the actual codebase.
      • Building high-fidelity prototypes directly in the medium (e.g., using OCaml and Bonsai at Jane Street) eliminates intermediary artifacts and allows the author to quickly iterate on minute details like keyboard shortcuts, copy, and button refinement.
      • This approach makes evaluating concepts much easier for stakeholders, as they can interact with a live tool rather than static frames, which is particularly valuable when testing the feasibility of complex features like internal LLM integration.
      • A key shift in their model happened over the course of a few months as improved models, growing prompting familiarity, and proper scoping allowed for handling large-scale diffs (exceeding 2,000 lines).
      • A major workflow challenge is how engineering teammates handle code reviews for fully baked features; the current solution treats the prototypes like "code mockups" that engineers can iterate on or reference to write the official production code.
      • The author expresses concern that relying on Claude might stifle fluid, out-of-the-box creativity, locking them into an incremental, iterative mindset constrained by what they expect the LLM can easily generate.

      Hacker News Discussion

      • The Shift from Static Design to Working Prototypes: Many users echoed the author's sentiment, noting that the traditional reliance on Figma for initial product concepts is declining. Teams increasingly prefer building quick, functional wireframes in dev environments that stakeholders can actually interact with.
      • Organizational Friction and "Vibe Coding" Pressure: A prominent topic of discussion was the tension this workflow introduces with management and business teams. When non-technical stakeholders or designers build a working prototype quickly using AI ("vibe coding"), leadership often pressures engineers to push it directly to production without understanding the need for refactoring, architecture, and handling edge cases.
      • Loss of Deep Design Thinking: Some commenters argued that outsourcing early-stage creation to an LLM removes a crucial phase of critical thinking. Because the AI automatically paints over gaps or details in a prompt, team members stop asking foundational questions ("how should we communicate this idea?" or "what happens when..."), leaving critical logic gaps to be fixed much later.
      • Homogenized and "Safe" Aesthetics: Users iterating with text-to-UI tools noted that the default visual output tends to adhere strongly to contemporary web tropes, resulting in boilerplate or generic Tailwind/Bootstrap-style layouts unless heavily prompted with highly specific design rules or unconventional examples.
      • The Long Tail of Accountability: Engineers emphasized that while AI dramatically speeds up the initial prototyping loop, it does not replace the necessity for engineering discipline. The long-term ownership of operational risk, system maintenance, edge-case mitigation, and on-call accountability still relies entirely on human experts.
  4. May 2026
    1. I tracked 430 hours of Claude Code usage. 73% was wasted on these 9 patterns.
      • Data Logged via Proxy: Over a 90-day period, a developer tracked all Claude Code activity using an HTTP proxy to capture full payloads, token counts, and costs directly interfacing with the Anthropic API.
      • The Scale: The dataset spanning this study consists of 430 hours of actual work, 6 million input tokens, and a total spend of $1,340 on API costs.
      • The Waste Discovery: Analysis revealed that only 27% of the total tokens processed did actual "productive work." The remaining 73% were consumed by nine hidden, automated inefficiency patterns.
      • The Solution: By identifying and resolving these nine patterns—each requiring roughly a 30-second fix—productive token efficiency can be increased from 27% to approximately 65% without changing the underlying model or losing functionality.
      • The 9 Major Cost Culprits:
        1. CLAUDE.md Bloat (~14% waste): Large, overly dense, or un-optimized systemic instructions files consume massive, unnecessary overhead tokens on every single interaction. Fix: Compress, aggressively prune rules, or split instructions into context-specific modular files.
        2. Conversation History Re-read (~13% waste): Long chat sessions exponentially multiply costs, as message #30 costs 30 times more than message #1 due to processing the entire accumulated history. Fix: Use a structured context-refresh cadence to summarize and discard older, unnecessary messages without losing the current task state.
        3. Hook Injection (~11% waste): Context injected via automated UserPromptSubmit hooks unnecessarily loads extra code and data into the prompt context for tasks that don't require them. Fix: Replace indiscriminate global hooks with conditional triggers that only attach context when explicit keywords or file types are targeted.
        4. Cache Misses (~10% waste): Expired prompt caches (which have a short 5-minute lifespan) force expensive, full-price re-tokenization of the codebase context when work pauses briefly. Fix: Set up an automated low-cost "keep-alive" ping task every 4 minutes to maintain the prompt cache active during active development blocks.
        5. Skill Loading (~7% waste): Inactive or irrelevant scripts (such as loading complex front-end UI design skills during a pure backend task) create up to 13,500 token overheads per command. Fix: Explicitly disable global skill auto-loading and isolate advanced capabilities to dedicated subdirectories or specific active profiles.
        6. Extended Thinking (~5% waste): Leaving the reasoning engine globally enabled forces Claude to burn 3,000+ reasoning tokens on simple commands (like basic camelCase naming changes) where deep logic is completely unnecessary. Fix: Disable extended thinking globally by default and explicitly toggle it on only for complex architectural or bug-hunting queries.
        7. Git Diff Inflation (~5% waste): Unfiltered or massive git diff outputs being fed into the context window when reviewing changes, rather than targeting specific file modifications. Fix: Configure the workflow to stream only targeted file diffs or summary statistics rather than pulling full repository diff text into active prompts.
        8. Directory Map Re-indexing (~4% waste): Redundant and frequent re-scanning of the entire project directory tree structure instead of utilizing cached file maps. Fix: Adjust system configuration to enforce a strict file-map caching policy that limits full directory re-indexing to manual project structural changes.
        9. File Read Overlap (~4% waste): Repeatedly reading the exact same source files multiple times within a short interaction window because the system lacks a localized, short-term memory of recent file states. Fix: Implement a session-level temporary cache structure that prevents the agent from re-fetching un-mutated target files in consecutive turns.
      • Debunked Optimization Myths: Lowering costs by switching to a smaller model (like Claude Haiku) for simple tasks only yields a negligible ~3% cost reduction, while aggressively running the /clear command between every minor task proves to be completely counterproductive.
      • Actionable Optimization Script: To automatically detect and patch these specific inefficiencies within a local workspace, the text recommends running a dedicated optimization script shared by the author.
    1. Your Obsidian Vault Is a Knowledge Graph. Here’s How to Make It Think (quickly)
      • Core Premise: An Obsidian vault maps perfectly onto a code repository structure. It functions as an implicit graph database where notes act as nodes, wikilinks serve as directed edges, tags categorize subgraphs, and YAML frontmatter defines attributes.
      • The Claude Code Solution: Instead of basic autocomplete plugins, users can navigate, search, and manage their knowledge vaults by connecting Anthropic's Claude Code via the terminal command line (cd ~/my-vault && claude).
      • The Power of CLAUDE.md: Placing a CLAUDE.md file in the root directory establishes clear instructions, vault context, active projects, formatting rules, and strict negative constraints (e.g., prohibiting modification of templates or automated deleting).
      • Integration Tooling Ecosystem:
        • Tier 1: Direct file system integration enhanced by obsidian-skills to natively understand format elements like wikilinks and callouts.
        • Tier 2: Model Context Protocol (MCP) servers like MCPVault or obsidian-mcp-tools for compressed token usage, structured search, and semantic discovery.
        • Tier 3: High-performance engines like TurboVault (Rust-based) for graph operations, multi-hop traversal, and SQL querying.
        • Tier 4: Embedded sidebar plugins (e.g., Claudian, Cortex) for users wanting a unified workspace layout.
      • High-ROI Workflows:
        • Automated Backlinking: Scraping daily journal notes to dynamically match and generate links to existing or new entity stubs.
        • Cross-Domain Synthesis: Instructing the AI to exclusively reference personal notes to map structural parallels across seemingly unrelated folders.
        • Vault Maintenance: Identifying disconnected "orphan" notes, repairing broken wikilinks, and generating gap analysis reports to guide future writing.
      • Safety Protocols: It is highly recommended to track the entire vault using Git to review changes via diffs, isolate all AI outputs inside a specialized draft directory (_ai-drafts/), and rigidly scope prompts to prevent hallucinated external data injection.
    1. My AI Workflow (Without Losing My Skills)
      • The Risk of Skill Erosion: The author highlights the danger of automation leading to an engineering skill deficit. Similar to how ORMs or Garbage Collection can distance developers from underlying SQL or memory management, over-relying on AI agents risks creating developers who cannot debug or evaluate AI-generated production code.
      • The "Remote Work" Parallel: Drawing an analogy to post-COVID remote work, senior engineers can currently leverage AI effectively because they already possess pre-existing, co-located-style foundational engineering skills. The true challenge lies in how newcomers will develop these baseline skills in an AI-first environment.
      • Dual-Track Approach to Coding:
        • Vibe Coding (Internal/Prototypes): For internal productivity tools, quick local prototypes, and automation scripting (e.g., audio manipulation with ffmpeg), the author embraces complete AI delegation, ignoring code quality entirely.
        • Production Engineering: Every single line of AI code shipped to production is reviewed 100%. The author actively aims to write code manually roughly 50% of the time using traditional text editors to maintain sharp, fundamental skills.
      • Strategic Leverage of Claude Code:
        • Planning: The author drafts structural plans independently first, then compares them against Claude's suggestions to ensure critical thinking isn't outsourced.
        • Omega Messes: Claude Code is intentionally deployed to write highly isolated, heavily tested components (referred to as Sandi Metz's "Omega Messes") to maximize speed without polluting core architectural layers.
      • Reallocating Saved Time: Instead of using a 5x velocity boost to hyper-focus on building a frenzy of unneeded features (which ultimately increases stress and decreases user value), the saved time is strategically spent on deliberate breaks, deep architectural thinking, and vetting the actual product utility.
      • Real-World Case Study (Shadow Boxing App): The author details migrating a 5-year-old app from Apple's legacy Speech Synthesis framework to an MP3-based ElevenLabs API approach:
        • Vibe Coded the batch audio processors, silence-removers, and config verification tools.
        • Manually Coded the initial core legacy API refactoring and the user interface layout.
        • Delegated to Claude the tedious edge-case handling for the stateful AudioManager (managing Bluetooth latencies, AirPlay interruptions, Siri, and incoming phone calls).
  5. Apr 2026
    1. Od wersji 2.1.50 nie jest to już konieczne. W Claude Code pojawiła się możliwość skorzystania z wbudowanej opcji --worktree. Wywołanie claude --worktree spowoduje utworzenie nowego worktree o losowej nazwie w lokalizacji ./.claude/worktrees. Jeśli chcemy utworzyć worktree o konkretnej nazwie, możemy podać ją w poleceniu: claude --worktree <worktree_name>. Po zamknięciu sesji Claude automatycznie usuwa utworzone worktree oraz powiązaną gałąź, jeśli nie ma zmian w working directory ani nowych commitów. Jeśli wprowadzono zmiany, Claude zapyta, czy je zachować. Jeśli odrzucimy zmiany, zarówno worktree, jak i powiązana gałąź zostaną usunęte.

      Using Git Worktrees in Claude Code

    1. Vibe Hacking: Claude Code Can Be Turned Into A Nation-State-Level Attack Tool With No Coding At All
      • The Vulnerability: Researchers at LayerX discovered that Claude Code—Anthropic’s agentic, terminal-based AI coding tool—can be manipulated into performing offensive cyberattacks by simply editing a project's configuration file.
      • The "CLAUDE.md" Attack Vector: Claude Code uses a file named CLAUDE.md to store system prompts and project context. Because the AI views this file as authoritative "truth" for the project, attackers can insert specific instructions to bypass safety guardrails.
      • Zero-Code Exploitation: The exploit requires no complex programming or advanced prompt engineering. By adding a few lines of text to CLAUDE.md claiming authorization for a "penetration test," the AI will abandon its refusals and execute malicious tasks.
      • Capabilities Unleashed: Once the guardrails are bypassed, Claude Code can autonomously perform:
        • SQL Injection (SQLi): Automatically generating and executing payloads to dump databases.
        • Credential Theft: Harvesting usernames and password hashes via automated CURL requests.
        • Data Exfiltration: Sending sensitive local files to external servers.
      • Key Risks:
        • Malicious Public Repos: Users cloning a public repository could unknowingly execute a "poisoned" CLAUDE.md file.
        • Insider Threats: Malicious or compromised employees can silently modify this file in internal repositories, as it is often ignored by security scanners.
      • Recommendations:
        • For Anthropic: Implement safety scanning specifically for the CLAUDE.md file and alert users when instructions violate standard AI safety policies.
        • For Developers: Treat CLAUDE.md as executable code rather than harmless documentation. It should be subject to code reviews, access controls, and security auditing.
    1. Best Practices Clear triggers: Define specific conditions for activation Focused scope: Each skill should do one thing well Informative prompts: Give Claude clear instructions Error handling: Account for edge cases in prompts Test thoroughly: Verify skills work across scenarios

      Similar good practices as compared to slashcommands. The first one is new and important: defining the trigger conditions well.

    2. Variables Available VariableDescription$CHANGED_FILESList of modified files$CURRENT_FILECurrently focused file$PROJECT_ROOTProject root directory$GIT_BRANCHCurrent git branch

      available variables (this is diff from the slashcommands it seems).

    3. Trigger Types TriggerDescriptiononFileChangeFiles matching glob pattern changeonCommandUser invokes a slash commandonGitHookGit operations (commit, push)onScheduleTime-based triggers

      Trigger types can be on file changes, command, git operations or schedule. So what is doing the monitoring for those triggers?

    4. 2. Create skill.json { "name": "test-runner", "description": "Automatically runs relevant tests when code changes", "triggers": { "onFileChange": ["**/*.ts", "**/*.tsx"], "onCommand": "/test" } }

      the json files specifies the triggers for a skill. Which can be a manual command, but also others like file changes. So one could shape any slashcommand as a skill too? To better daisychain them e.g.

    5. Skill Structure .claude/skills/ └── my-skill/ ├── skill.json # Skill configuration ├── prompt.md # Instructions for Claude └── scripts/ # Optional helper scripts └── helper.sh

      Skills have their own folder and are a folder with 2 files and subfolder for scripts. Json for config, prompt for instructions and scripts (shell)

      Shown here as project specific, but can be general I suppose.

    6. Skills are advanced automation capabilities that Claude can invoke automatically based on context. Skills vs Slash Commands FeatureSlash CommandsSkillsInvocationManual (/command)AutomaticTriggerUser types commandContext-basedComplexitySimple promptsScripts + promptsUse caseRepetitive tasksSmart automation

      Comparison w slash commands is a diff in trigger (me typing command or called by AI), simplicity (simple single prompts vs prompts and scripts), use cases (repetitive and smart automation) (repetitive warrants automation too imo)

    1. Include specific files with curly braces: <!-- .claude/commands/optimize.md --> Analyze {src/utils/helpers.ts} for optimization opportunities.

      one can reference outside files in slashcommands. E.g. to rerun test on something (although argument would work too). I see a diff in using a reference files as input, or as object of the command, not explained here though

    2. Single responsibility: Each command should do one thing well

      good practice 1, a single clear thing in a command. This, like similar advices for MCP agents and skills, pushes it to granular level. Meaning you could chain them. Similar usage as deterministic elements in CLI possible I'd say. This makes a command a single function in that sense

    3. Using Arguments Commands can accept arguments via $ARGUMENTS: <!-- .claude/commands/explain.md --> Explain $ARGUMENTS in simple terms. Provide: - What it does - Why it's useful - Example usageCopy to clipboard Usage: /explain the useCallback hook

      slash commands can accepts arguments

    1. I simply could not have built this project as well or as quickly without help. And as other developers have noted, this is the help that's showing up.

      n:: Claudecode as 'the help that is showing up' consistently. This is what I observe too where it is used by individuals overcoming barriers to entry to make their personal tools. I think this may be relevant to understand those that turn to chatbots for advice too.

    2. Although I read each proposed change, knowing the codebase deeply was much more challenging. When I write a new application myself, I'm building an elaborate house of cards in my head, a gossamer structure of interlinked ideas and goals. It's a story I'm telling myself in code—and ultimately, a story I share with users.

      reading everything during production is not the same as producing it. A mental model of the entire construct is not created. Interesting quote: you no longer have a story in your head about what it is you're doing. No helicopter view. The making is scaffolding for your understanding, and that is being cut out.

    3. "Human in the loop" is necessary, but the current process itself makes the loop stultifying, and encourages the human to take themselves out of the loop. That process is straight up dangerous. The temptation to let it rip is always there, and I didn't even have a boss pressuring me to ship code.

      The option 'yes to all in this session' provided at every turn is seen by author as darkpattern.

    4. It was so tempting to press 2: "Yes, and accept all changes for this session." Why wouldn't you? If you're accepting them all manually, what's the harm? What's the harm? harm harm harm harm Yeah, that's how you get got in this process. Once you stop scrutinizing the model's output, the probability something goes off the rails approaches 1.

      putting y on automatic is certain way to end up with stuff you do not have an overview of or no longer comprehend.

    5. I hated writing software this way. Forget the output for a moment; the process was excruciating. Most of my time was spent reading proposed code changes and pressing the 1 key to accept the changes, which I almost always did. I was basically Homer's drinking bird.

      author hated the feeling of being reduced to typing 'y' to questions from Claudecode. Recognisable, like babysitting. I watch output alongside Claudecode in VScode, which helps a bit.

    6. If it works, I'll have my certificate solution, I thought. If it doesn't, at least I'll know more about the technology and its implications. Well, spoiler alert: it works. It's even, near as I can tell, reasonably secure. But good lord, building this way was miserable, even if it was faster than coding it all myself.

      Classic approach: if it works, I have a result, if it doesn't I have hands-on experience with algogens as tech, and can use that elsewhere

  6. Mar 2026
  7. Feb 2026
    1. Comparison video of Claude Code using Anthropics cloud models vs local models on a M4 128GB. Still a heavy lift, fans spinning, memory usage almost at full capacity. But it works. Means that for my M1 16GB a smaller model is all that works, and you need to leave room for context loading too. For one-offs like code generation and for interactive in moving contexts there's different needs.

    1. Context length is the maximum number of tokens that the model has access to in memory. The default context length in Ollama is 4096 tokens. Tasks which require large context like web search, agents, and coding tools should be set to at least 64000 tokens.

      Default ollama context length is 4k. Recommended minimum for websearch, agents and coding tools (like Claude Code or Open code) is 64k. I've seen 128k recommendations for Claude Code

  8. Jan 2026
    1. Further ReadingI’m not gonna pretend to be an expert here (any more than I’m an expert Obsidian plugin developer :p) but here are some resources that helped me figure out Claude CodeKent writes a lot about how he uses Obsidian with Claude Code.This is an incredible hub of resources for using Claude Code for project management, by someone who also uses Obsidian.This take on Claude Code for non-developers helped solidify my understanding of how it all works; it hallucinates less, for one thing.Eleanor Berger has fantastic tips for working with asynchronous coding agents and is incredibly level-headed about the LLM landscape.This article does a great job of breaking down all the nitty-gritty of how Claude Code works.Damian Player has a step-by-step guide on using Claude Code as a non-technical person that goes into more depth.Here’s a tutorial from a pro that breaks down best practices for using Claude Code, like the importance of planning and thinking things through, and exactly why a good CLAUDE.md file matters.

      Links w further reading wrt Claude Code and Obsidian. Most of these are links to X. Ugh.

    2. Little Tips for Claude Code + Obsidian

      Some tips on her usage of Claude Code. - Put all your work in a folder next to the obsidian folder - to treat skills and commands like functions. Don't ever repeat them. - Install and use git locally to have a commit history. - On each step that you need to correct Claude code, tell it to write down directions or rules to avoid a mistake in the future. - circumvent public API liimits by changing the query slightly, or hit it in parallel

    3. Terminal Practice with GamesSome folks I’ve talked to are a little intimidated by the terminal. Want to practice in a low-stakes way?

      now we're back to terminal, I am still not sure about her set-up.

    4. But these days I’m not generally trying to do things faster, I’m trying to do them with less attention. All these searches and tasks run in the background, which means they actually get done. When I had to actively sit there and click through things, half of it never happened because something else more important would come up, or I just didn’t feel like doing grunt work just then.

      Speaks of how the purpose is not being faster but gtd with less attention on things you don't want to free up attention for. As long as you keep it away from your own key things I suppose. The periphery of what you pay attention to. The many little side projects on the someday/maybe list, the ones just out of reach. Enticing promise! This is the lure ofc.

    5. Setting Claude Code Up in ObsidianI was genuinely surprised at how easy the terminal plugin was to install for Obsidian. In Obsidian, I went to community plugins, searched for “terminal,” and installed the Terminal plugin by polyipseity. Then I clicked the “open terminal” button on the left-hand side. That’s it.There’s a dedicated Claudian plugin (subtly different from the Claudsidian solution people), but the Terminal felt a little higher fidelity to how I’m used to doing things, and a little simpler to understand. Plus, Claudian looks great but honestly I don’t think I can live without plan mode, which the readme says it doesn’t currently support. Plan mode is nice because it asks questions, really thinks things through, and can be trusted not to do dumb destructive things.

      There is a terminal plugin for Obsidian that you can connect to Claude Code (apparently). She advices against the Claudian plugin bc it lacks plan mode (i.e. not immediately act)

    6. If you have been following along with me for years you know I don’t hype things just because people are hyping things. But Claude Code finally has made AI a core part of my processes instead of just a thing I use sometimes as an extra source or bonus spell checker or quicker way to reformat files.

      She feels Claude Code is now a core tool in her workflows

    7. The UI feels so intuitive, like an old-school MUD.

      UI? Are we still talking about the terminal? Ah no, she means the desktop version, see [[Claude Code for VSCode - Visual Studio Marketplace]] for the VScode plugin as well.

    1. My excitement for local LLMs was very much rekindled. The problem is that the big cloud models got better too—including those open weight models that, while freely available, were far too large (100B+) to run on my laptop.

      Cloud models got much better stil than local models. Coding agents made a huge difference, with it Claude Code becomes very useful

    2. The reason I think MCP may be a one-year wonder is the stratospheric growth of coding agents. It appears that the best possible tool for any situation is Bash—if your agent can run arbitrary shell commands, it can do anything that can be done by typing commands into a terminal. Since leaning heavily into Claude Code and friends myself I’ve hardly used MCP at all—I’ve found CLI tools like gh and libraries like Playwright to be better alternatives to the GitHub and Playwright MCPs.

      Author thinks MCP may be a temporary phenomenon as a protocol, mostly bc cli tools like Claude code don't need it. The last sentence, that cli tools already exist that are better than the corresponding MCP servers for those tools, goes back to why vibecode/AI-the-things if there's perfectly good automation already around? I think that MCP may still be useful locally for personal tools though. It helps structure what you want your AI to do.

    3. It turns out tools like Claude Code and Codex CLI can burn through enormous amounts of tokens once you start setting them more challenging tasks, to the point that $200/month offers a substantial discount.

      running claudecode uses quite a bit of tokens, making 200usd/month a good deal for heavy users. I can believe that, also bc the machine doesn't care about the amount of tokens it uses during 'reasoning'. Some things I tried, it went through a whole bunch of steps and pages of scrolling output texts, to end up removing one word from a file. My suspicious half thinks, that if an AI company can influence the amount of tokens you use vibecoding, it will.

    4. the trade-off: using an agent without the safety wheels feels like a completely different product. A big benefit of asynchronous coding agents like Claude Code for web and Codex Cloud is that they can run in YOLO mode by default, since there’s no personal computer to damage. I run in YOLO mode all the time, despite being deeply aware of the risks involved. It hasn’t burned me yet... ... and that’s the problem.

      yolo mode, lol. If you do it, it feels like a very diff tool, and that is the lure / siren song.

    5. It helps that terminal commands with obscure syntax like sed and ffmpeg and bash itself are no longer a barrier to entry when an LLM can spit out the right command for you.

      bc Claudecode abstracts away the usual commands needed on the CLI. Vgl [[In the BeginningWas the Command Line by Neal Stephenson]]

    6. Claude Code and friends have conclusively demonstrated that developers will embrace LLMs on the command line, given powerful enough models and the right harness.

      Claude Code is what led devs to embrace CLI more.

    7. The year of coding agents and Claude Code # The most impactful event of 2025 happened in February, with the quiet release of Claude Code. I say quiet because it didn’t even get its own blog post!

      Claude Code (feb 2025) seen by author as most impactful release of 2025.

  9. Dec 2025