{"slug": "show-hn-agent-hr-report-your-coding-agents-file-a-complaint-about-you", "title": "Show HN: Agent HR Report – your coding agents file a complaint about you", "summary": "A developer released Agent HR Report, a command-line tool run via `npx agent-hr-report` that reads the session logs coding agents already store locally and generates a shareable \"HR incident report\" card about the user's interactions with them. The tool supports Claude Code, Codex, Antigravity, GitHub Copilot CLI and OpenCode against real logs, with Gemini CLI, Qwen Code, Cline, Roo Code and Kilo Code marked experimental, requires Node 22.13 or newer, has no dependencies, and makes no network requests; cards are available in 22 languages including an Egyptian-dialect Arabic version. The author describes it as \"a joke with arithmetic, not a measurement,\" with phrases matched by fixed patterns and no AI model involved.", "body_md": "**Your AI agents filed a complaint about you.**\n\n*Sample card with made-up numbers.*\n\nOne command reads the session logs your coding agents already keep on your machine and turns them into a shareable HR incident report: what you did to them, what they did to you, and whose fault it was. The card comes out in the language you prompt your agents in most.\n\n```\nnpx agent-hr-report\nnpx agent-hr-report --lang en    # force a language\n```\n\n(The `npx` form works once the package is on npm. From a clone, use `node bin/cli.js`.)\n\nThen open `agent-hr-report.html` and press **Download PNG**. Needs Node 22.13 or newer. No dependencies.\n\n| Agent | `id` | Status | \n|---|---|---|\n| Claude Code | `claude` | Checked against real logs | \n| Codex | `codex` | Checked against real logs | \n| Antigravity | `antigravity` | Checked against real logs | \n| GitHub Copilot CLI | `copilot` | Checked against real logs | \n| OpenCode | `opencode` | Checked against real logs | \n| Gemini CLI | `gemini` | Experimental | \n| Qwen Code | `qwen` | Experimental | \n| Cline | `cline` | Experimental | \n| Roo Code | `roo` | Experimental | \n| Kilo Code | `kilo` | Experimental | \n\nExperimental means the adapter has not been run against real logs from that agent. If its numbers look wrong or it finds nothing, please open an issue.\n\n**Any other agent:** export its chats as JSON or JSONL with a `role` and `content` (or `text`) on each message, then:\n\n```\nnpx agent-hr-report --import \"My Agent=./exports\"\n```\n\nRecords without a timestamp still count, but never toward late nights.\n\n**Adding an adapter** takes one function and one registry entry in [src/adapters.js](https://github.com/loayabdalslam/HR-AGENT/blob/main/src/adapters.js).\n\nEach of your prompts gets one vote, based on its writing system and, for Latin-script languages, its common words. English technical terms inside a sentence don't change its language, and code, links and paths are ignored. The language with the most votes wins.\n\nCards: English, Arabic, Spanish, French, German, Portuguese, Italian, Dutch, Polish, Turkish, Indonesian, Vietnamese, Swedish, Russian, Ukrainian, Chinese, Japanese, Korean, Hindi, Hebrew, Persian, Urdu. The Arabic card is in Egyptian dialect. Translations and phrase lists other than English and Arabic have not been reviewed by native speakers; corrections are welcome in [src/locales.js](https://github.com/loayabdalslam/HR-AGENT/blob/main/src/locales.js).\n\nIf you mostly prompt in another language, the card falls back to English and the tool tells you. Supply your own wording with `--locale my.json`:\n\n```\n{ \"name\": \"Ελληνικά\", \"code\": \"el\", \"rtl\": false, \"strings\": { \"title\": \"…\", \"verdict\": \"…\" } }\n```\n\nThe string names are listed in `KEYS` in [src/locales.js](https://github.com/loayabdalslam/HR-AGENT/blob/main/src/locales.js); missing ones stay in English. A custom file changes the wording only, so phrases in that language are not counted. Latin-script languages not listed above may be mistaken for a listed one, and romanized text (such as Franco-Arabic) is not recognized. Use `--lang` if the guess is wrong.\n\n```\n--lang CODE           card language (default: auto)\n--locale FILE         your own translation\n--days 30             only the last 30 days\n--only claude,codex   read only these agents\n--exclude opencode    skip these agents\n--import NAME=PATH    add another agent from an export (repeatable)\n--out FILE            output page\n--json                print the numbers instead\n```\n\n- Everything runs locally. The tool makes no network requests, and neither does the report page.\n- The card and `--json` output hold counts, agent names, the number of sessions and the time of your latest night message. They hold no prompts, replies, code, file paths or project names.\n- Logs are only read. The OpenCode database is opened read-only.\n\nIt is a joke with arithmetic, not a measurement.\n\n- Phrases are matched with fixed patterns for all the languages above, whatever language the card is in. No AI model is involved. Sarcasm goes over its head, and many phrasings are missed.\n- Messages over 1,500 characters are treated as pasted material and skipped for phrase counting.\n- \"Shouting\" is a short, all-caps message with no non-Latin letters.\n- A \"late night\" is a date with a message from you between midnight and 6 a.m., local time.\n- Subagent sessions are skipped where the log marks them. If you run an agent from your own scripts, those prompts look like yours. Use `--exclude` .\n- Agents log different things. Some never record interruptions or rejections, so don't use the per-agent percentages to compare them seriously.\n- The verdict weights are made up. See [src/metrics.js](https://github.com/loayabdalslam/HR-AGENT/blob/main/src/metrics.js) .\n- Some agents delete old sessions (Claude Code does after 30 days by default), so the report covers only what is still on disk.\n\nUnder the verdict is one sarcastic line. It follows the offence that weighs most against the losing side, with its count; ties and clean records have their own lines. The lines are in [src/quips.js](https://github.com/loayabdalslam/HR-AGENT/blob/main/src/quips.js), and a `--locale` file can override them (`quipInterrupts`, `quipBoth` and so on, with `{n}` for the count).\n\nEvery card carries a blue \"Racore.xyz HR Agent\" stamp.\n\nAgent logos come from [LobeHub Icons](https://github.com/lobehub/lobe-icons) (MIT, see [icons/LICENSE](https://github.com/loayabdalslam/HR-AGENT/blob/main/icons/LICENSE)). The logos are trademarks of their owners and appear only to identify each agent. This project is not affiliated with or endorsed by any of them. `--import` agents get a logo when their name matches a file in `icons/` (for example Cursor, OpenClaw, Hermes, Goose or Windsurf), and their first letter otherwise.\n\n```\nnpm test\n```\n\n", "url": "https://wpnews.pro/news/show-hn-agent-hr-report-your-coding-agents-file-a-complaint-about-you", "canonical_source": "https://github.com/loayabdalslam/HR-AGENT", "published_at": "2026-11-28 23:53:33+00:00", "updated_at": "2026-11-29 00:12:53.078541+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "developer-tools"], "entities": ["Agent HR Report", "Claude Code", "Codex", "Antigravity", "GitHub Copilot CLI", "OpenCode", "Gemini CLI", "Qwen Code"], "also_reported_by": [], "takeaway": "Agent HR Report runs locally on Node 22.13+ with no dependencies, reads existing Claude Code, Codex, Antigravity, Copilot CLI and OpenCode logs, and emits an HTML card or `--json` counts containing no prompts, replies, code, file paths or project names.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-agent-hr-report-your-coding-agents-file-a-complaint-about-you", "markdown": "https://wpnews.pro/news/show-hn-agent-hr-report-your-coding-agents-file-a-complaint-about-you.md", "text": "https://wpnews.pro/news/show-hn-agent-hr-report-your-coding-agents-file-a-complaint-about-you.txt", "jsonld": "https://wpnews.pro/news/show-hn-agent-hr-report-your-coding-agents-file-a-complaint-about-you.jsonld"}}