PenguinHarness is a local-first platform in which multiple AI agents create, evaluate, optimize, and deploy agent applications. It is for people building AI software who want agents to generate applications and improve their own behavior through skills.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Prism-Shadow/penguin-harness --skill trace-lookupgit clone --depth 1 https://github.com/Prism-Shadow/penguin-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/prism-shadow/penguin-harness/trace-lookup)<a href="https://agentmods.dev/skills/prism-shadow/penguin-harness/trace-lookup"><img src="https://agentmods.dev/badge/skills/prism-shadow/penguin-harness/trace-lookup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/prism-shadow/penguin-harness/trace-lookup"><img src="https://agentmods.dev/badge/skills/prism-shadow/penguin-harness/trace-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.00941 |
| Opus 5.5 | $0.00023 | $0.00376 |
| Sonnet 5.5 | $0.00011 | $0.00188 |
| Haiku 4.5 | $0.00006 | $0.00094 |
Grade A, and why
trace-lookup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Trace Lookup
A Trace file is the full record of one model context: every message, tool call, tool output and harness event, one JSON record per line. Use it to recover an exact detail — a command, an error text, a path, what the user said — that is no longer in your context.
Before you start
If the user's message only invokes this skill without a concrete question, ask what they want looked up.
Where the files are
<app_data_dir>/agents/<agent_id>/traces/<yyyy-mm-dd>/<session_id>_<NNN>.jsonl
- One file per model context.
NNNcounts up (_001,_002, …) each time the Session's context is compacted or its model is switched. The file a[context_summary]or[model_switch_from]block names is the context you continue from; earlier ones have the same name with a lower number, in the same or an earlier date folder. - The highest number under your own Session ID is the file being written now: it is this context, already in front of you.
- The other names in
traces/are this Agent's other Sessions. A Session ID starts with the time it began:session-<yyyy-mm-dd-hh-mm-ss>-….
Rules
- Never read or
cata whole Trace file. A record can be very long (awrite_filecall carries the whole file), andread_filecuts each line at 2,000 characters. - Two steps: list the matching line numbers with a search that prints only the match, then read those lines.
- Read only. Never edit, move or delete a Trace file.
Step 1: find the lines
Use the form for your shell (the Environment section's Shell: line). <file> is the Trace path.
| Shell | Command |
|---|---|
| bash, zsh, sh | rg -n -o -F '<pattern>' '<file>' (or grep -n -o -F '<pattern>' '<file>') |
| pwsh, powershell | (Select-String -Path '<file>' -SimpleMatch -Pattern '<pattern>').LineNumber |
| cmd | powershell -NoProfile -Command "(Select-String -Path '<file>' -Pattern '<pattern>').LineNumber", with every " of the pattern written as . (role.:.user.,.text) |
| To find | Pattern |
|---|---|
what the user said (the harness's own lines, such as the compaction prompt and [context_summary], are user text too) |
"role":"user","text" |
| what you replied | "role":"assistant","text" |
| the calls of one tool | "name":"exec_command","arguments" (any tool name) |
| tool outputs | "type":"tool_call_output" |
| one call and its output | "tool_call_id":"<id>", with the id from the call's line |
| where a compaction began and ended | "type":"compaction_begin", "type":"compaction_end" |
| requests that failed | "type":"request_end","status":"retryable" (or "fatal") |
| anything you remember | a short piece of the text itself: a file name, an error word. Inside a record a " is written \" and a line break \n |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 14d ago First seen · 55 lines · 57 tokens per session scan A ffcab6c2c941
trace-lookup is a skill published in the GitHub repository Prism-Shadow/penguin-harness (3,361 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 941 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.
trace-lookup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trace-lookupPrism-Shadow/penguin-harness | Skill | 3.4k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| harness-creatorwalkinglabs/learn-harness-engineering | Skill | 27k | 7d ago | MIT | A | 142 | Codex |
| memmy-projectMemTensor/memmy-agent | Skill | 2.4k | today | MIT | A | 277 | Claude Code, Codex |
| computer-historyMemTensor/memmy-agent | Skill | 2.4k | today | MIT | A | 42 | Claude Code, Codex |
| docxMemTensor/memmy-agent | Skill | 2.4k | today | MIT | A | 40 | Claude Code, Codex |
| update-setupMemTensor/memmy-agent | Skill | 2.4k | today | MIT | A | 0 | Claude Code, Codex |
| skill-creatorMemTensor/memmy-agent | Skill | 2.4k | today | MIT | A | 28 | Claude Code, Codex |