Audit Paperclip logo

Audit Paperclip

Community
diegomarino
audit-paperclip

Use when checking Paperclip org health, reviewing agent efficiency, diagnosing token waste, verifying governance compliance, or before and after making org changes. Also use when agents seem idle or unproductive, costs spike, tasks stall, heartbeats fail silently, you see 409 conflicts, stale locks, blocked deadlocks, or suspect agents burning tokens with no progress.

Overview

Publisherdiegomarino
Repositoryclaude-toolshed
Skill nameaudit-paperclip
Stars
58
Forks
5
Bundled files
9
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by diegomarino on GitHub. Read the source before you install it.

Installation

Install the Audit Paperclip AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/diegomarino/claude-toolshed/tree/main/plugins/paperclip/skills/audit-paperclip
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/diegomarino/claude-toolshed.git /tmp/claude-toolshed
mkdir -p .claude/skills
cp -r /tmp/claude-toolshed/plugins/paperclip/skills/audit-paperclip .claude/skills/audit-paperclip
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Audit Paperclip in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Audit Paperclip on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Audit Paperclip is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Audit Paperclip

Run a comprehensive health audit on a Paperclip AI agent organization.

Audit data

!bash "${CLAUDE_SKILL_DIR}/scripts/audit.sh" $ARGUMENTS


Instructions

Read the audit data above and produce a report following the rules below.

Ambiguity resolution

If the output contains AMBIGUOUS: lines, the user must choose. Use AskUserQuestion to present the options, then re-run:

bash
bash "${CLAUDE_SKILL_DIR}/scripts/audit.sh" --instance CHOSEN_INSTANCE

Severity mapping

Map script output lines to report sections:

  • ERROR: lines -> Errors (must fix) table, numbered E1, E2, ...
  • WARN: lines -> Warnings (should fix) table, numbered W1, W2, ...
  • INFO: lines -> Info (nice to know) table, numbered I1, I2, ...
  • CLEAN: lines -> hide unless --verbose was passed
  • METRICS: lines -> Token Efficiency table
  • section= field -> Category column
  • agent= field -> Affected column

Reasoning checks (your job -- scripts pre-fetched the data)

Done without verification: For each DONE_COMMENT: line, decode comment_b64 from base64. Judge if the comment contains execution evidence (command output, test results, logs). If no evidence -> add a WARN [done-without-verification] finding.

Task description quality: For each TASK_DESC: line, decode desc_b64 from base64. Judge if the description contains: Objetivo/Objective, Artefacto/Expected artifact, Fecha/Due date. If missing sections -> add a WARN [description-quality] finding.

Health score

text
score = 100 - (error_count * 15) - (warn_count * 5) - (info_count * 1)
minimum: 0
CLEAN lines: excluded

Report template

markdown
# Paperclip Audit Report -- {company_name}
**Date**: {timestamp}
**Instance**: {api_url} (v{version})

## Health Score: {score}/100

## Summary
- {N} errors, {N} warnings, {N} info findings

## Findings

### Errors (must fix)
| ID | Category | Finding | Affected |
|----|----------|---------|----------|
| E1 | ... | ... | ... |

### Warnings (should fix)
| ID | Category | Finding | Affected |
|----|----------|---------|----------|
| W1 | ... | ... | ... |

### Info (nice to know)
| ID | Category | Finding | Affected |
|----|----------|---------|----------|
| I1 | ... | ... | ... |

## Agent Summary
| Agent | Status | Model | Last Run | Tokens | Cost | Issues |
|-------|--------|-------|----------|--------|------|--------|

## Task Summary
| Status | Count |
|--------|-------|

## Token Efficiency (last 5 runs per agent)
| Agent | Avg Input | Avg Output | Ratio | Empty Rate | Est. Cost/Run |
|-------|-----------|------------|-------|------------|---------------|

## Recommendations
1. ...

Fill every section from the script output. For Agent Summary, combine AGENT: lines from discovery with METRICS: lines. For Task Summary, count issues by status from the task-hygiene output.

Recommendations

List up to 10 recommendations from the findings, ordered by priority. Start with errors, then warnings. Reference finding IDs (e.g., "Fix E1 and E2: ..."). Each recommendation should be a specific action the user can take right now (e.g., "Fix E1: Release stale lock on PET-15 via API", "Fix W5: Add CLAUDE_CONFIG_DIR to CEO env config"). Do not invent recommendations — only suggest fixes for issues found by the scripts or reasoning checks.

Common Mistakes

MistakeFix
audit.sh not foundPlugin not installed or cache stale -- reinstall
AMBIGUOUS outputAsk user to pick, re-run with --instance
python3 missingToken efficiency section skipped with WARN -- other checks still run
Making curl callsNEVER make API calls -- all data comes from script output
Skipping empty sectionsAlways include every section, even if "no findings"
Inventing findingsOnly report what scripts detected + your reasoning checks

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Audit Paperclip AI skill do?

Use when checking Paperclip org health, reviewing agent efficiency, diagnosing token waste, verifying governance compliance, or before and after making org changes. Also use when agents seem idle or unproductive, costs spike, tasks stall, heartbeats fail silently, you see 409 conflicts, stale locks, blocked deadlocks, or suspect agents burning tokens with no progress.

Why use Audit Paperclip on TypingMind?

Because you install it once and use it with any model. Audit Paperclip is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Audit Paperclip in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/diegomarino/claude-toolshed/tree/main/plugins/paperclip/skills/audit-paperclip. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Audit Paperclip?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Audit Paperclip?

As many as you like. As long as a model supports skills, you can use Audit Paperclip with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Audit Paperclip AI skill free?

It is published on GitHub by diegomarino. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇