Skip to content
Back to skills

Cocoaudit

ASecurity

Export the full CocoAudit trail as a stakeholder-ready compliance document

  • 724 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agents

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add Snowflake-Labs/cocoplus --skill cocoaudit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cocoaudit?

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

Security grade badge for Cocoaudit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snowflake-labs-cocoaudit-e4e88a41/badge)](https://www.skillsdirectory.com/skills/snowflake-labs-cocoaudit-e4e88a41)

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: audit-export
description: Export the full CocoAudit trail as a stakeholder-ready compliance document
version: "1.0.0"
author: sgsshankar
tags: [audit, compliance, export]
commands: ["$audit export"]
user-invocable: true
blocking: true
---

# $audit export

Export the complete CocoAudit trail as a uniquely timestamped compliance document. For stakeholder packaging, route Markdown/HTML/PDF formats through the shared exporter.

## Steps

1. Read `lifecycle/audit.md` (append-only source of truth)
2. Count total event blocks (lines starting with `## [`)
3. Generate timestamp: `YYYY-MM-DDTHH-MM-SSZ` (hyphens replace colons for filesystem safety)
4. Write `.cocoplus/audit-export-[timestamp].md` with header + full verbatim trail
5. If a format was requested, run `invoke reporting/report-export --source <exported-md> --format <markdown|html|pdf> --out-dir .cocoplus/audit-exports`
6. Output path, event count, and export renderer status to developer
7. Never overwrite prior export files — each invocation is uniquely timestamped (idempotent per export)

## Exit Criteria

- Export file written to `.cocoplus/audit-export-[timestamp].md`
- Developer sees path and total event count
- No prior export file overwritten
- HTML export is available through `reporting/report-export`; PDF reports renderer status if no renderer is configured

## Anti-Rationalization

| Temptation | Why Wrong |
|------------|-----------|
| Reuse same filename on same-day exports | Timestamp includes time — each export is unique and non-destructive |
| Read audit.md selectively | Source of truth is verbatim — export must include all events, not filtered view |

Files in this skill

  • audit-add.skill.md1022 B
  • audit-ci.skill.md1.5 KB
  • audit-events.skill.md1.5 KB
  • audit-export.skill.md1.6 KB
  • audit-timeline.skill.md918 B
  • audit-verify.skill.md1.6 KB
  • cocoaudit.skill.md6.7 KB

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…