Skip to content
Agentmart
Submit a tool

attach-evidence

Use when attaching a durable PR, test, or artifact URL to an Involute run.

Skill by fakechris

IndexedApache-2.0★ 1
Write a review

Chalk Labs

Need help deploying attach-evidence?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fakechris-attach-evidence

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when attaching a durable PR, test, or artifact URL to an Involute run. Also moves work toward In Review.

Use cases: testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/attach-evidence

What's inside

Skill name
attach-evidence
Description
Use when attaching a durable PR, test, or artifact URL to an Involute run. Also moves work toward In Review.
License
Apache-2.0
Instructions
48 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Attach evidence

Tool: `evidence` with `action: 'attach'` (default; the old name `evidence_attach` still works for one version, INV-1046)

## When

You have a durable pointer (PR URL, CI run, artifact path) proving the run.

## How

- Require `work_id`, `run_id`, `kind`, `url`, short `summary`.
- Prefer https PR/commit URLs; `file://` only for box-local receipts the operator can open.
- Never attach tokens, `.env`, or secret-bearing paths.

## Rules

- Evidence is not a substitute for `run_report` completed.
- Do not invent citations or fake URLs.

## Attaching private files (`work_attach_file` / `involute work attach-file`, INV-1003 / INV-1273)

When attaching a research report, incident postmortem, diagnostic Markdown, log, or screenshot to a work item (`work_attach_file`, then optionally citing its returned `/uploads/...` URL in `evidence(action: 'attach', kind: 'artifact')`):

Acceptance and bug images are attachments. Put the picture on the work with `work_attach_file` (or the CLI), then either leave the returned `/uploads/…` URL in the description or a comment, or attach it as `evidence(action: 'attach', kind: 'screenshot', url)`. An object-storage image (S3, Aliyun OSS, Qiniu, or a CDN host the deployment allowlists) is an https URL in the description or the same screenshot evidence. The page renders allowlisted image URLs; the server never fetches them. An unsigned private object does not load, and a presigned URL stops loading when it expires.

1. **Local file already on disk? Upload directly via CLI (fastest, zero LLM tokens, no truncation):**
   ```bash
   involute work attach-file <INV-xxx> /path/to/report.md [--mode overwrite|append|delete] [--filename report.md]
   ```
   Never run `base64 -i <file>` + `cat` to paste large Base64 blobs into an MCP tool call — single-line `base64` output is truncated by shell tool output limits (~3.7 KB) and wastes thousands of output tokens.
2. **Passing text/Markdown through MCP `work_attach_file`? Pass plain UTF-8 (`encoding: 'utf-8'`):**
   ```json
   {
     "work_id": "INV-123",
     "filename": "report.md",
     "encoding": "utf-8",
     "content": "# Report\n\nPlain UTF-8 markdown..."
   }
   ```
   `mime_type` is auto-inferred from `filename` when omitted, and `encoding` auto-detects plain UTF-8 vs Base64 for `.md`/`.txt`/`.log`/`.json`.
3. **Fixing a truncated upload or uploading in chunks (`mode`):**
   - `mode: 'overwrite'` replaces the existing attachment on `work_id` with the same `filename` (or `attachment_id`) in-place, keeping its ID and URL.
   - `mode: 'append'` appends `content` to the existing attachment with the same `filename` (or creates it if it does not exist yet) — never split one logical report into `part1-of-5`..`part5-of-5` files.
   - `mode: 'delete'` removes a mistaken or truncated attachment by `attachment_id` or `filename`.

## Execution ownership (INV-943)

`work_claim` returns a secret `claim_token` and an `executionId`. Keep the token in this execution’s secret state; never put it in a comment, receipt, log or Git. Pass `claim_token` when renewing the lease, reporting a run, attaching evidence, releasing your claim (`work_claim_release`, with a reason), or retracting your own pre-acceptance evidence (`evidence_retract`, with a reason). Sharing an actor identity does not share execution authority. After lease expiry, acquire a new claim and use its new token; old runs cannot resume. A lost token cannot be recovered from context: wait for expiry or ask a person to release the claim in the UI. Completed runs retain their token binding for attaching evidence after completion.

From fakechris/Involute, Apache-2.0.

More from fakechris/Involute

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Oct 19, 2026 (23 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from fakechris

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get attach-evidence running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying attach-evidence?

CallGet help
Cite this page

attach-evidence skill. Agent Mart. https://agentmart.dev/skills/fakechris-attach-evidence (last updated 2026-10-24)