agentleFS
paulingrampaulingram/claude-skills/skills/helpdesk/SKILL.md

helpdesk

Skill1 starsChanged 7 months agoMITView on GitHub

Use after a session that went badly to file a manual triage report — the user-run counterpart to the automatic issue logging (named "Logit" / "Helpdesk"). It asks for explicit consent before sending anything and asks which privacy level to apply (full shares code/data snippets, summary sends nothing identifiable, off sends nothing), captures the issues the agents could not solve on the first attempt, and produces a triage submission that follows the SAME triage process as the automatic path. The deterministic submission builder + privacy redaction + validator live in scripts/helpdesk/logit.py; this skill is the contract. Honest boundary — the actual SEND to the triage server is the server-tier (the SEC handshake + the EVAL server), not part of this in-repo plugin; the skill produces the payload + applies privacy locally.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a session goes badly, the user needs a one-command way to report it for triage — the MANUAL counterpart (HD-1) to the automatic issue …

    line 8
  2. Very specific:

    Ask the user explicitly, via AskUserQuestion: *"This will send a report of this session to the triage server — are you OK with that?"* If …

    line 34
  3. Very specific:

    Ask, via AskUserQuestion, which privacy level to apply:

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Logit / Helpdesk (HD-1 … HD-3)

When a session goes badly, the user needs a one-command way to report it for triage — the MANUAL counterpart (HD-1) to the automatic issue logging. This skill captures the report, gets consent, applies the chosen privacy level, and produces a triage submission that the same triage process consumes (HD-3).

The deterministic pieces — the submission builder, the privacy redaction, and the validator — live in scripts/helpdesk/logit.py (stdlib-only, unit-tested). This skill is the contract + the user-consent workflow. Do not re-implement the deterministic pieces in prose — call the module.

Honest boundary — what is and is NOT in-repo

The in-repo skill PRODUCES a privacy-applied triage submission and records consent. The actual send to the triage server (HD-2/HD-3) requires the triage server itself — the SEC handshake + the EVAL server — which is the server-tier, designed separately and NOT part of this plugin. So this skill: writes the submission to .architect-team/helpdesk/<ts>.json, and the transmission is best-effort and server-tier (when a configured triage endpoint exists it is handed over; absent one, the local submission is the deliverable and the user is told the send is pending the server-tier). Do NOT claim a report was "sent to triage" when only the local payload was produced.

Workflow

Step 1 — Confirm consent (HD-2)

Ask the user explicitly, via AskUserQuestion: "This will send a report of this session to the triage server — are you OK with that?" If they decline, STOP and produce nothing. Consent is a domain gate (the user's input IS the deliverable), not a process gate — it always fires.

Step 2 — Choose the privacy level (HD-2 / EVAL-15…17)

Ask, via AskUserQuestion, which privacy level to apply:

  • full — shares snippets of your code and data with the project (be explicit that identifiable content is included; EVAL-15).
  • summary — keeps ONLY a safe allow-list of structured fields (summary / category / what_happened / agent_could_not_solve); ALL other content — code/data snippets, nested objects, unknown keys, non-object items — is dropped (default-deny), so nothing truly identifiable is sent (EVAL-16).
  • off — send nothing (no submission is produced; EVAL-17).

Step 3 — Capture the report

Capture the session summary + the issues the agents could not solve on the first attempt (SR-3). For each issue, record {category, what_happened, agent_could_not_solve}. Gather evidence items only when the level is full (or as redactable items the engine will strip under summary).

Privacy is default-deny under summary — only the safe allow-list of structured fields survives; code/data/nested/unknown keys are dropped, and the validator REJECTS any non-allow-listed key as a backstop. But the retained free-text fields are kept verbatim, so do NOT paste identifiable content (a stack trace, an API key, an email, a file path) INTO summary / what_happened under summary mode — put such content in a dedicated evidence key (e.g. code_snippet) so the redactor drops it, or choose full if the user consented to share it.

Step 4 — Build the submission

$(command -v python3 || command -v python) scripts/helpdesk/logit.py \
  build --input report.json --privacy <full|summary|off> --version <plugin-version> --consent --out .architect-team/helpdesk/<ts>.json

build_submission(...) applies the privacy redaction, gates on consent, stamps the version (EVAL-8) and source: manual-helpdesk so the triage process treats it identically to the automatic path (HD-3), and returns None for off.

Step 5 — Validate + hand off (HD-3)

validate_submission(...) confirms consent + version + that a summary submission leaks no identifiable data. Then hand the submission to the triage process — when a triage endpoint is configured, transmit (server-tier); otherwise the local submission is the deliverable and the send is pending the server-tier. State plainly which happened — produced-locally vs sent.

Cross-references

  • scripts/helpdesk/logit.py — the deterministic builder + redaction + validator (the machine).
  • commands/logit.md — the /architect-team:logit user entry point.
  • scripts/notify/notify.py — the existing best-effort emit pattern the transmission step mirrors (when a triage endpoint is configured).
  • CT6-6 §9 (EVAL) + §12 (SEC) — the automatic logging + the triage-server handshake this manual path feeds (the server-tier, designed separately).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.