# Show HN: Agent HR Report – your coding agents file a complaint about you

> Source: <https://github.com/loayabdalslam/HR-AGENT>
> Published: 2026-11-28 23:53:33+00:00

**Key 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.

**Your AI agents filed a complaint about you.**

*Sample card with made-up numbers.*

One 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.

```
npx agent-hr-report
npx agent-hr-report --lang en    # force a language
```

(The `npx` form works once the package is on npm. From a clone, use `node bin/cli.js`.)

Then open `agent-hr-report.html` and press **Download PNG**. Needs Node 22.13 or newer. No dependencies.

| Agent | `id` | Status | 
|---|---|---|
| Claude Code | `claude` | Checked against real logs | 
| Codex | `codex` | Checked against real logs | 
| Antigravity | `antigravity` | Checked against real logs | 
| GitHub Copilot CLI | `copilot` | Checked against real logs | 
| OpenCode | `opencode` | Checked against real logs | 
| Gemini CLI | `gemini` | Experimental | 
| Qwen Code | `qwen` | Experimental | 
| Cline | `cline` | Experimental | 
| Roo Code | `roo` | Experimental | 
| Kilo Code | `kilo` | Experimental | 

Experimental 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.

**Any other agent:** export its chats as JSON or JSONL with a `role` and `content` (or `text`) on each message, then:

```
npx agent-hr-report --import "My Agent=./exports"
```

Records without a timestamp still count, but never toward late nights.

**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).

Each 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.

Cards: 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).

If 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`:

```
{ "name": "Ελληνικά", "code": "el", "rtl": false, "strings": { "title": "…", "verdict": "…" } }
```

The 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.

```
--lang CODE           card language (default: auto)
--locale FILE         your own translation
--days 30             only the last 30 days
--only claude,codex   read only these agents
--exclude opencode    skip these agents
--import NAME=PATH    add another agent from an export (repeatable)
--out FILE            output page
--json                print the numbers instead
```

- Everything runs locally. The tool makes no network requests, and neither does the report page.
- 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.
- Logs are only read. The OpenCode database is opened read-only.

It is a joke with arithmetic, not a measurement.

- 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.
- Messages over 1,500 characters are treated as pasted material and skipped for phrase counting.
- "Shouting" is a short, all-caps message with no non-Latin letters.
- A "late night" is a date with a message from you between midnight and 6 a.m., local time.
- 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` .
- Agents log different things. Some never record interruptions or rejections, so don't use the per-agent percentages to compare them seriously.
- The verdict weights are made up. See [src/metrics.js](https://github.com/loayabdalslam/HR-AGENT/blob/main/src/metrics.js) .
- Some agents delete old sessions (Claude Code does after 30 days by default), so the report covers only what is still on disk.

Under 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).

Every card carries a blue "Racore.xyz HR Agent" stamp.

Agent 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.

```
npm test
```


