Skip to content
Back to skills

Docs Outbox

ASecurity

Sweep the docs outbox — dedupe, lint, and digest pending small docs (lessons, reports, drafts), then chair-approve via chip into ONE batched PR. Triggers on: docs outbox, outbox sweep, sweep the outbox, pending docs, outbox status, approve digest.

  • 10 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentspython

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add Smart-AI-Memory/attune-ai --skill docs-outbox --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs Outbox?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs Outbox
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/smart-ai-memory-docs-outbox/badge)](https://www.skillsdirectory.com/skills/smart-ai-memory-docs-outbox)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: docs-outbox
description: "Sweep the docs outbox — dedupe, lint, and digest pending small docs (lessons, reports, drafts), then chair-approve via chip into ONE batched PR. Triggers on: docs outbox, outbox sweep, sweep the outbox, pending docs, outbox status, approve digest."
---
# Docs Outbox

**IMPORTANT: Start your response by telling the user:** you are
running the docs-outbox sweep — it composes a digest for approval
and never ships anything on its own.

## What It Does

Small docs artifacts (lessons, roundtable reports, process drafts,
plans) land as per-artifact timestamped files in
`~/.attune/docs-outbox/` instead of shipping as their own PRs.
This skill runs the curating sweep: dedupe, lint, core-worthy
flagging, ONE digest — then the chair approves via chip before a
single batched PR opens. `decisions.md` rulings and spec status
flips NEVER route here; they merge now (R2).

Invariants:

- No auto-shipping — the chair (or their chip-spawned session)
  approves the digest before any PR opens (R4).
- One swept PR per approval, auto-merge, containing every clean
  artifact in timestamp order.
- Artifacts with lint issues stay in the outbox untouched.

## Step 1 — status

Version preflight first: if `python -m attune.docs_outbox status`
fails with "No module named attune.docs_outbox", the installed
`attune-ai` wheel predates this module — upgrade it
(`pip install --upgrade attune-ai`) before continuing rather than
working around it with PYTHONPATH.

Run `python -m attune.docs_outbox status`. If the outbox is empty,
say so and stop. If the status line says STALE (oldest 2+ days),
surface the warning prominently.

## Step 2 — sweep

Run `python -m attune.docs_outbox sweep` from the repo root and
show the digest to the user verbatim (it is one screen: pending
count, per-artifact table with core-worthy / related-slug / lint
flags, dropped exact duplicates).

## Step 3 — chip approval

Present the digest as a chip via the `spawn_task` tool:

- title: `Approve docs-outbox digest (N docs)`
- tldr: one sentence — how many docs, oldest age, any flags.
- prompt: the digest text, plus instructions for the spawned
  session: create a branch off origin/main, run
  `python -m attune.docs_outbox apply --repo-root .`, review the
  diff, commit (`docs(outbox): sweep N artifacts`), push, open ONE
  auto-merge PR, and report skipped artifacts.

If the surface has no `spawn_task` tool, show the digest and ask
the user directly whether to apply — same contract, no chip.

## Step 4 — after approval

The spawned (or continuing) session applies, opens the PR, and the
applied artifacts move to `~/.attune/docs-outbox/swept/<date>/`.
Nothing else to do here — the outbox row on the ops Collaboration
page clears once the sweep lands.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.