惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
月光博客
月光博客
博客园 - Franky
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
有赞技术团队
有赞技术团队
V
V2EX
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
Apple Machine Learning Research
Apple Machine Learning Research
腾讯CDC
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
Martin Fowler
Martin Fowler
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
WordPress大学
WordPress大学
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
Microsoft Security Blog
Microsoft Security Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I audited my own Claude Code setup and found 21 issues in...
Gabriel Grip · 2026-04-24 · via DEV Community

The accidental sprawl

I wanted to know how many Claude Code agents I had accumulated. The answer was uncomfortable:

$ ls ~/.claude/agents/ | wc -l
47

Enter fullscreen mode Exit fullscreen mode

Plus 7 slash commands, 18 CLAUDE.md memory files scattered across project directories, and a handful of skills. Seventy-two artifacts total, and no clear picture of which ones actually earned their keep.

Like most people using Claude Code for a while, I'd added a new agent every time I hit a new type of task. Writing docs? New agent. Reviewing PRs? New agent. Refactoring Go code? New agent. Refactoring TypeScript? Well... probably another one, because I forgot the first one existed.

Nothing was wrong, exactly. But nothing was audited either.

So I built a tool to audit it.

What it detects

claude-atlas scans ~/.claude/ plus any repos you point it at, then runs six heuristic detectors to find issues:

  • Exact duplicates — identical SHA-256 hash. Someone copy-pasted.
  • Semantic duplicates — Jaccard similarity ≥ 0.60 over tokenized body + description, minus domain stopwords.
  • Trigger collisions — 2+ artifacts share distinctive trigger tokens. These will compete for activation.
  • Overrides — a project-scoped artifact shadows a same-named global one.
  • References — one artifact's body mentions another's name.
  • Containment — memory files cluster the other artifacts in their .claude/ root (useful for UI grouping).

Each issue gets a severity classification: high, medium, low. You use --max-severity to decide which level should make CI fail.

Running it on my own setup

$ claude-atlas check --quiet
Found 21 issues (2 medium, 19 low) in 72 artifacts.

Enter fullscreen mode Exit fullscreen mode

Now the interesting part. Two MEDIUM severity issues:

/Users/grippado/.claude/agents/refactor-scout.md
  MEDIUM trigger_collision: shared triggers:
    analyzes, improvements, opportunities, refactoring
  paired with: refactorer.md

/Users/grippado/.claude/agents/testing/api-tester.md
  MEDIUM trigger_collision: shared triggers:
    comprehensive, performance, specializes, testing
  paired with: performance-benchmarker.md

Enter fullscreen mode Exit fullscreen mode

Caught me red-handed. refactor-scout and refactorer are definitely two agents doing the same job, with 4 distinctive triggers in common. Same for api-tester and performance-benchmarker, they share "comprehensive", "performance", "specializes", "testing" as triggers. Classic drift: created one, forgot about it, created another similar weeks later.

The remaining 19 LOW severity issues are interesting too, agents like ui-designer, visual-storyteller, backend-architect and frontend-developer all share vague triggers like "building", "designing", "implementing". The tool correctly flags these but keeps them at low severity because the overlap is plausibly intentional (they all do somewhat adjacent work). This is exactly the noise floor triage you want: surface the real problems, flag the borderline cases, don't drown me in false positives.

The noise-reduction work that mattered most

An earlier version of the tool found ~100 issues in the same 72 artifacts. Most of them were garbage.

The reason: triggers like "agent", "user", "task", "code", "proactively" appear in nearly every agent's description. Jaccard similarity doesn't know these are meaningless, they're just tokens with high frequency across the corpus. So every pair of agents looked "similar" by definition.

The fix was a domain stopword list:

_DOMAIN_STOPWORDS = {
    "agent", "agents", "skill", "skills", "command", "commands",
    "user", "users", "task", "tasks", "work", "working",
    "code", "file", "files", "project", "projects",
    "proactively", "automatically",
    # ... etc
}

Enter fullscreen mode Exit fullscreen mode

Plus a rule: trigger tokens shorter than 5 characters ("api", "app", "go") don't count toward collision detection either.

Dropping domain stopwords took my real setup from ~100 false-positives to 21 actionable issues. Single biggest improvement in the whole project.

The UI mistake I made

First version had an Obsidian-style graph as the main view. 72 nodes, connecting edges everywhere, orange lines for trigger collisions, red for duplicates. Looked cool.

It was the wrong choice.

Graph views are good for discovering unknown structure, "oh, I didn't realize these were connected". They're mediocre for deciding what to do, "which of these two agents should I delete?". The work users actually want to do on an audit tool is triage, not exploration.

So v0.4.0 (planned) inverts the priority: triage dashboard with per-issue cards becomes the default, graph moves to a secondary tab. I wrote that realization up in the public roadmap before implementing it, as a way to commit to the change and invite feedback.

Stack

  • Python 3.11+ with uv for package management
  • typer for the CLI, rich for terminal output
  • python-frontmatter for parsing (with a regex fallback for the malformed YAML that broke the parser in my real setup, studio-coach's multi-line description crashed the parser until I patched it)
  • networkx for graph math
  • chevron (Mustache) for the HTML report
  • cytoscape.js for the graph view
  • Anthropic SDK (optional, via --semantic) for LLM-as-judge refinement of suspected duplicates

MIT license. 31 tests passing. Roadmap published. CI-friendly exit codes.

Try it

# Install (choose your favorite)
pip install claude-atlas
# or
uv tool install claude-atlas  
# or
pipx install claude-atlas

# Quick check
claude-atlas check

# Full interactive report
claude-atlas scan --output atlas.html
open atlas.html

# For CI / pre-commit hooks
claude-atlas check --max-severity high --format github

Enter fullscreen mode Exit fullscreen mode

https://github.com/grippado/claude-atlas

Meta: dogfooding with Claude.ai

This was also an experiment in fast dogfooded development with Claude.ai as a pair-programming partner. Not "Claude wrote the code", more like: Claude challenged my design decisions, caught bugs in code reviews, pushed back on features I wanted to build before they made sense, and pointed out when I was over-engineering something (including pointing out when the graph view was the wrong UX).

From zero to v0.3.0 with 31 passing tests and public roadmap: ~4 intensive sessions over a week. The v0.4.0 dashboard reformulation is parked for ~2 weeks of real-world usage before I build it, because I wanted to let the tool teach me what the dashboard should actually show.

If you've been building Claude Code artifacts for a while, give your own ~/.claude/ a scan. Curious what others find.