aaif-audit-slack

aaif-audit-slack is a skill for Claude Code from aaif/community-events. It costs 200 tokens per session (6,792 once invoked), scanned A, original, MIT.

A read-only audit of a community Slack workspace. It checks chapter channels, organizer membership, topic activity, and what the workspace looks like to ordinary members, then combines the findings into a ranked-focus PDF with appendices.

In plain words
What is it for?
Reviewing organizer access, message activity, topic health, and member visibility across chapters, then summarizing where attention is most needed.
Why use it?
It reveals missing channels, membership mismatches, inactive subjects, and newcomer or member-experience problems without changing Slack.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the aaif-events plugin — 20 skills shipped together

Good fit Reviewing organizer access, message activity, topic health, and member visibility across chapters, then summarizing where attention is most needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaif/community-events/aaif-audit-slack
Install

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.

Any agent
npx skills add aaif/community-events --skill aaif-audit-slack
Clone the repo
git clone --depth 1 https://github.com/aaif/community-events

Made for: Claude Code.

Or install aaif-events, the plugin that ships this one along with the rest of its 20 skills.

Wrote 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.

agentmods badge for aaif-audit-slack

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaif/community-events/aaif-audit-slack/github.svg)](https://agentmods.dev/skills/aaif/community-events/aaif-audit-slack)
Your own site
<a href="https://agentmods.dev/skills/aaif/community-events/aaif-audit-slack"><img src="https://agentmods.dev/badge/skills/aaif/community-events/aaif-audit-slack/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.

agentmods 80×15 button for aaif-audit-slack

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaif/community-events/aaif-audit-slack"><img src="https://agentmods.dev/badge/skills/aaif/community-events/aaif-audit-slack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 200 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,792 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 95
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 64
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00200 $0.06792
Opus 5 $0.00100 $0.03396
Sonnet 5 $0.00040 $0.01358
Haiku 4.5 $0.00020 $0.00679

Measured 5d ago against content hash 7cc6f5fa2c16, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

aaif-audit-slack 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 5d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/audit_activity.py, scripts/audit_members.py, scripts/audit_organizers.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/aaif-audit-slack/SKILL.md · 507 lines

How it starts

The opening of the file, as written. The whole thing — 507 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AAIF Slack Audit

Three engines over one workspace, same house rules — everything is read-only.

Three reports, one measurement layer.

Report Script Answers
Organizers audit_organizers.py does each chapter have a home, and are the people we accepted in it?
Topics audit_topics.py are the subjects the community organises around still alive, and can a newcomer find them?
Members audit_members.py what does the workspace look like to an ordinary member?
Measurement layer Script Supplies
Activity audit_activity.py last human message, message volume, distinct posters per channel — feeds the topics and member reports
Deliverable Script Produces
Where to focus summarize_audits.py the single HTML report you hand over — an index into four full-report sections (Chapters, Organizers, Topics, Members), with a TL;DR ranking what to fix as the closing section

Run whichever the user asked for. "Audit Slack" with no side named means all three reports. Order is fixed: organizers → activity → topics → members. The organizer engine goes first because it is the one with decisions attached. Activity must precede topics and members because its cache is what supplies the topic report's dormancy figures and the member report's "posted recently" line — run either first and those numbers are missing from a report you have already handed over. Topics additionally reads the organizer engine's audit.json to exclude chapter rooms from its unclassified list, so it goes after organizers.

The output is ONE HTML report. Run the four collectors — they exist to fill the cache and to be run standalone when someone wants just one side — then summarize_audits.py composes the deliverable:

for s in organizers activity topics members; do
  python3 ${CLAUDE_SKILL_DIR}/scripts/audit_$s.py
done
python3 ${CLAUDE_SKILL_DIR}/scripts/summarize_audits.py   # -> slack-full-audit.html
rm -f slack-organizers-audit.html slack-topics-audit.html \
      slack-members-audit.html slack-activity-audit.html   # scaffolding, holds PII

Do not hand over four separate reports. Four files drift out of step with each other the moment one is re-run, and the person reading them has to work out the ranking that summarize_audits.py already did. Delete the four standalone files once the combined one is written, for the same reason the caches are 0600 — a second copy of every member name and address in the working directory is a liability, not a convenience.

Activity is not opt-in. Asking for the organizer or member side alone still runs it, because its numbers are the only measured engagement in this skill and every other activity signal here is a proxy the reports refuse to use. Skip it only when the token lacks channels:history (the engine says so and exits) or the user explicitly asks you not to. It needs a history-scoped token — see the ceiling below — and answers questions about dead channels, engagement and posting volume.

Tooling rule — gws + Python only. Every read, edit, and write of a Drive file goes through the gws CLI, driven from Python. Prefer native Google formats: edit application/vnd.google-apps.* files with the Docs/Sheets/ Slides API. Drop to byte-level OOXML surgery on the .docx/.pptx/.xlsx zip parts (embedded fonts and untouched parts survive) only when the file genuinely is a stored Office file. Never use LibreOffice / soffice — not to edit, not to convert, and not to render a "just checking it locally" preview: it substitutes local system fonts for the brand fonts and drops OOXML it doesn't understand, so its output and its renders both misrepresent the real file. Same for unoconv and any desktop office suite. To see a file, render it through the API instead — a slide via aaif_events.slides_export.render_slide_png, a doc via gws drive files copy to a Google Doc → gws drive files export to PDF → trash the copy. Never round-trip a native Doc through .docx — it strips native features like Tabs.

Read the full file on GitHub · 507 lines

Changes

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.

  1. 5d ago Changed · +10 lines · +1 tokens per session 7cc6f5fa2c16
  2. 10d ago First seen · 497 lines · 199 tokens per session scan A 5c6d8d4544b2

Subscribe to this mod's changes

aaif-audit-slack is a skill published in the GitHub repository aaif/community-events (9 stars, last pushed today), licensed MIT. It adds 200 tokens to every session and 6,792 once invoked, about $0.0010 per session on Opus 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-08-31.