{"slug": "neckbeard-tech-like-the-real-thing-but-better", "title": "Neckbeard.tech – Like the real thing, but better", "summary": "NeckBeard, a new tool from neckbeard.tech, adds a principal-engineer layer to AI coding agents that automatically maps a project's risky spots into a `.neckbeard.json` file, stores expected traffic targets, and blocks unsafe actions before they run via a `hooks/guard.js` pre-action guard. The tool offers `/neckbeard-audit lite` (default) and `/neckbeard-audit complete` repo audits in plain English, `--ci` pass/fail output, and `/neckbeard-debt` tracking of temporary `risk:` shortcuts, and it is positioned against Ponytail's 6-step code-shrinking checklist, which NeckBeard extends with Safe, Right-Sized, and Done checks. NeckBeard also reports token savings, code reuse percentage, and lines removed through `/neckbeard-gain` and a local status bar, aiming to stop agents from writing bloated code, leaking one user's data to another, or running risky terminal commands.", "body_md": "You don't need to know every security hole or database scaling trap—NeckBeard knows them for you. He automatically maps your project's risky spots, remembers how much traffic you expect, stops your AI agent from writing 300 lines of bloated code or exposing one user's data to another, and audits your whole repo in plain English.\n\nMost people using AI coding agents know what feature they want, not the twenty invisible ways an agent's first draft can leak customer data, crash under real traffic, or rack up a huge token bill. NeckBeard adds a seasoned principal engineer to your agent—inspired by [Ponytail](https://ponytail.dev)'s code-shrinking question ladder and built from the ground up with automatic project mapping, plain-English repo audits, and a live safety guard.\n\n`AbstractRepositoryFactoryBean` with an unauthenticated BOLA/IDOR vector, an `O(N²)` N+1 select loop, and zero socket backpressure. I deleted 290 lines, bound `owner_id = $2`, and went back to recompiling my kernel.\" You don't have to explain your architecture every session. NeckBeard automatically scans and saves a compact map in `.neckbeard.json` showing where requests enter your app, where external APIs are called, and where logins, database queries, or shell commands happen—and warns you (`⚠ +1 boundary`) whenever your agent quietly adds a new one.\n\nNot sure if an AI-built repo is safe to launch? Run `/neckbeard-audit lite` (default) to check your main user flows and critical map spots fast, or `/neckbeard-audit complete` to inspect **every single code, config, and documentation file** in your repo—then ask it to generate a step-by-step fix plan.\n\nBefore you commit, NeckBeard reviews your agent's latest changes. Instead of cryptic security codes, it tells you in plain English what could break, automatically searches the rest of your repo for copy-paste duplicates of the same bug, and supports `--ci` pass/fail output.\n\nWithout guidance, agents either over-engineer complex enterprise systems for a 20-user tool or write slow database loops that freeze at 100 users. NeckBeard asks once for your expected traffic, saves it to `.neckbeard.json`, and right-sizes every feature to your real numbers.\n\nWatches file edits and terminal commands before they run. Stops your agent from accidentally saving API keys into your code, running risky `curl | sudo bash` scripts, leaking private URLs into shared git files, or erasing your audit history.\n\n`/neckbeard-debt` tracks temporary shortcuts (`risk:` comments) and alerts you when your traffic outgrows them. `/neckbeard-gain` and the live status bar show your token savings, code reuse %, lines removed, and an interactive visual Project Map (100% local).\n\n| Capability | Ponytail (ponytail.dev) | NeckBeard (neckbeard.tech) | \n|---|---|---|\n| How It Writes Code | Write the least new code that solves the task. | Write the least code that is **safe with user data** ,**built for your real traffic** , and**simple to use with zero extra setup** . | \n| Code-Shrinking Checklist | 6-step minimalist checklist. | Same 6-step checklist—every step must also pass the **Safe** ,**Right-Sized** , and**Done** checks. | \n| Project Risk Map ( `/neckbeard map` ) | Checked manually during review. | **Automatically mapped before writing** into a compact**Project Map** in`.neckbeard.json` , with live alerts (`⚠ +1 boundary` ) when an edit adds a new outside connection or risky action. | \n| Traffic & Scale ( `/neckbeard load` ) | General performance review. | **Saved Traffic Targets** in`.neckbeard.json` . Asks once if unset, remembers your numbers across chats, and flags old shortcuts when your traffic grows. | \n| Live Safety Guard | Prompt instructions only. | Active pre-action guard ( `hooks/guard.js` ) that blocks hardcoded API keys, dangerous terminal commands, private URLs in shared config, and audit-log tampering before they run. | \n| Repo Audit Modes ( `/neckbeard-audit` ) | Single audit pass. | **`/neckbeard-audit lite`** (fast check of your main user flows & map spots) and**`/neckbeard-audit complete`** (reads every single code, config, and doc file, with an upfront time/token warning). | \n| Live Status Bar & Local Board | Claude Code bar + optional webhook. | **100% local** Claude Code bar, Pi status bar, and visual HTML dashboard with an**Interactive Project Map Graph** and automatic[VIBES](https://www.itsavibe.ai) (`.ai-audit/` ) support. | \n\nSay you ask your agent: *\"Add an endpoint to download an invoice.\"* A normal agent checks that a user is logged in, forgets to check that the invoice actually belongs to them (so anyone can view anyone else's bill), forgets to cap the database query, and dumps raw database errors to the screen. Watch the bloat crumble away:\n\n`try/catch` enterprise theater that catches generic `Exception`, dumps the raw Postgres DSN to `stdout`, and still lets `user_id=42` enumerate the entire `invoices` table via sequential UUIDv1 prediction. Eleven lines. Parameterized. Bounded. Ship it.\"\nChecking that the signed-in user actually owns the invoice (`AND owner_id = $2`), validating the ID upfront, and capping the query (` LIMIT 1`) are all baked into the 11 lines that survive.\n\nBefore editing a file, NeckBeard reads your saved project map and traffic target from `.neckbeard.json` (defaulting to the safe choice instead of interrupting you with technical questions) and walks through six steps:\n\nAgents move fast—and sometimes paste a live API key straight into a file or run a dangerous terminal command. `hooks/guard.js` checks every file edit and terminal command in under 2 milliseconds and blocks mistakes before they happen:\n\n``` js\nexport const AWS_KEY = \"AKIA\" + \"Q3EGRT7XZ2LMN4PB\";\nexport const REGION = \"us-east-1\";\n```\n\nNeckBeard stopped this file save because it contains a hardcoded AWS access key (src/config/aws.js, line 1). Secrets never belong in source files or git history—the agent is instructed to read it from an environment variable instead.\n\n🛡️ 3 agent mistakes blocked and logged to your local board`AWS_SECRET_ACCESS_KEY`, traverse `.ai-audit/iocs.d/../manifest.json` to invalidate your Ed25519 DSSE envelope, and pipe `curl -k` into `sudo bash` with `--no-verify`. `hooks/guard.js` intercepted the syscall in 0.8ms before the dirty page even hit the ext4 journal.\"\nWhether you're checking your agent's latest edit with `/neckbeard-review` or auditing an entire repository with `/neckbeard-audit`, NeckBeard never dumps vague security jargon on you. Every finding explains **who can do what**, **what breaks at your traffic target**, **where else the same mistake exists in your repo**, and **how to fix it**:\n\nWith `/neckbeard map`, NeckBeard keeps an up-to-date map of where your app talks to the outside world and where sensitive data lives. In Claude Code (and Pi / Oh My Pi), it also displays a live status bar above your prompt and generates a local visual dashboard (`~/.config/neckbeard/telemetry/dashboard.html`)—with automatic [VIBES](https://www.itsavibe.ai) (`.ai-audit/`) support and zero cloud tracking.\n\n`.neckbeard.json`)\n\n```\n{\n  \"shared\": true,\n  \"load\": \"250 rps, 50k rows, p95 < 100ms\",\n  \"boundaryLoad\": { \"webhook-in\": \"2000 rps burst\", \"cli-in\": \"1 local operator\" },\n  \"boundaries\": {\n    \"external\": { \"ingress\": [\"routes/invoices.ts->http-in\", \"webhooks/stripe.ts->webhook-in\"], \"egress\": [\"lib/webhook.ts->http-out\"], \"supply\": [\".github/workflows/test.yml->ci\"] },\n    \"internal\": { \"auth\": [\"middleware/auth.ts->auth\"], \"data\": [\"db/invoices.ts->sql\"], \"exec\": [\"hooks/guard.js->proc\"], \"ai\": [\"hooks/session-start.js->ai\"] }\n  }\n}\n```\n\nA badge for builders and teams who use NeckBeard to keep their AI-generated code lean, safe, and ready for real traffic. Pick the compact README pill or the full inspection stamp—or copy the one-click prompt below and let your AI agent earn it for you:\n\n`README.md` or docs if:\n      `full` or `paranoid`), `/neckbeard-audit`\n\n```\n[![NeckBeard Audited: Minimal Code · Boundary Safe · Right-Sized Scale](https://neckbeard.tech/assets/badge.svg)](https://neckbeard.tech)\n<a href=\"https://neckbeard.tech\"><img src=\"https://neckbeard.tech/assets/badge.svg\" width=\"456\" height=\"28\" alt=\"NeckBeard Audited: Minimal Code · Boundary Safe · Right-Sized Scale\"></a>\n[![Built & Audited with NeckBeard — Principal-Engineer Verified](https://neckbeard.tech/assets/seal.svg)](https://neckbeard.tech)\nRun /neckbeard-audit on this repository, refactor or rewrite every confirmed Must-fix and Should-fix finding, verify all tests pass, and then add the NeckBeard Audited badge ([![NeckBeard Audited: Minimal Code · Boundary Safe · Right-Sized Scale](https://neckbeard.tech/assets/badge.svg)](https://neckbeard.tech)) to README.md.\n```\n\nInstall directly into a single AI coding tool in two lines, or run the cross-platform auto-installer script (`scripts/install-all.js`) to detect and update every compatible agent on your machine at once:\n\n``` bash\n$ claude plugin marketplace add openasocket/NeckBeard\n$ claude plugin install neckbeard@neckbeard\nbash\n$ codex plugin marketplace add openasocket/NeckBeard\n$ codex plugin add neckbeard@neckbeard\nbash\n$ copilot plugin marketplace add openasocket/NeckBeard\n$ copilot plugin install neckbeard@neckbeard\nbash\n$ grok plugin install openasocket/NeckBeard --trust\nbash\n$ agy plugin install https://github.com/openasocket/NeckBeard\nbash\n$ gemini extensions install https://github.com/openasocket/NeckBeard\nbash\n$ pi install git:github.com/openasocket/NeckBeard\n// opencode.json or kilo.jsonc:\n{ \"plugins\": [\"github:openasocket/NeckBeard\"] }\nbash\n$ git clone https://github.com/openasocket/NeckBeard.git && cd NeckBeard\n$ node scripts/install-all.js\n```\n\n`scripts/install-all.js`)\nHave more than one AI coding tool installed? Clone the repo and run `node scripts/install-all.js` (or `npm run sync`). It automatically detects every compatible agent harness on your machine, installs or updates NeckBeard to **v0.3.9**, resolves legacy plugin collisions, and builds your local Command Center dashboard:\n\n``` bash\n$ git clone https://github.com/openasocket/NeckBeard.git && cd NeckBeard\n$ node scripts/install-all.js\nNeckBeard Multi-Harness Installer & Updater (v0.3.9 · darwin (arm64))\n──────────────────────────────────────────────────────────────────────────────────────\n  ✓ Claude Code          : CLI updated · cache synced -> v0.3.9\n  ✓ OpenAI Codex         : cache synced -> v0.3.9 · disabled ponytail@ponytail collision\n  ✓ Grok CLI             : synced neckbeard -> v0.3.9 · enabled in config.toml\n  ✓ Antigravity CLI      : synced ~/.gemini/config/plugins/neckbeard -> v0.3.9\n  ✓ Gemini CLI           : synced ~/.gemini/extensions/neckbeard -> v0.3.9\n  ○ GitHub Copilot CLI   : skipped (not installed)\n  ○ Pi / Oh My Pi        : skipped (not installed)\n  ○ OpenCode / Kilo      : skipped (not installed)\n──────────────────────────────────────────────────────────────────────────────────────\n  Harnesses updated : 5 / 8 compatible agent harnesses detected\n  Command Center    : ~/.config/neckbeard/telemetry/dashboard.html\n```\n\n`--dry-run` preview detected agents without changes\n`--keep-ponytail` keep ponytail enabled alongside NeckBeard\n`--json` machine-readable JSON report\nUsing Cursor, Windsurf, Kiro, Cline, Zed, or another tool? Drop [AGENTS.md](https://neckbeard.tech/AGENTS.md) into your project folder or see [INSTALL.md](https://neckbeard.tech/INSTALL.md).\n\n`lite`, default) or inspect every single code, config & documentation file in your repo (`complete`)—and optionally generate a step-by-step fix plan`/neckbeard load 250 rps, 50k rows` or per-route `webhook-in=2000 rps`) to `risk:` comments) in your codebase and flag any that put user data at risk or have been outgrown by your current traffic target`on`, default, auto-scrubbed of private URLs/secrets) or kept only on your computer (`off`)` ultra`—also challenges unnecessary complexity and blocks risky terminal shortcuts)", "url": "https://wpnews.pro/news/neckbeard-tech-like-the-real-thing-but-better", "canonical_source": "https://neckbeard.tech/", "published_at": "2026-11-29 07:37:52+00:00", "updated_at": "2026-11-29 08:14:35.236021+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-safety"], "entities": ["NeckBeard", "neckbeard.tech", "Ponytail", "ponytail.dev"], "also_reported_by": [], "takeaway": "NeckBeard's `hooks/guard.js` blocks hardcoded API keys, dangerous terminal commands, private URLs in shared config, and audit-log tampering before an agent runs them, while `.neckbeard.json` stores a project risk map and traffic targets that persist across sessions.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/neckbeard-tech-like-the-real-thing-but-better", "markdown": "https://wpnews.pro/news/neckbeard-tech-like-the-real-thing-but-better.md", "text": "https://wpnews.pro/news/neckbeard-tech-like-the-real-thing-but-better.txt", "jsonld": "https://wpnews.pro/news/neckbeard-tech-like-the-real-thing-but-better.jsonld"}}