Skip to content
Back to skills

Close

ASecurity

Run the Month-End Close engine: full close, ten-control sentinel, fault-injection guardrails demo, or the autonomous close loop. Use when asked to run/demo the close, prove the close controls, or self-heal a drifted close.

  • 12 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added August 31, 2026
ai-agentspythonbashrails

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add sophonfinance-wq/finance-automation-portfolio --skill close --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Close?

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

Security grade badge for Close
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sophonfinance-wq-close/badge)](https://www.skillsdirectory.com/skills/sophonfinance-wq-close)

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: close
description: "Run the Month-End Close engine: full close, ten-control sentinel, fault-injection guardrails demo, or the autonomous close loop. Use when asked to run/demo the close, prove the close controls, or self-heal a drifted close."
---
# Month-End Close Engine

Package `close_engine` in `monthly-close-automation/`. All data fictional, seeded (default seed 2026). Integer-cent math.

## Commands (run from `monthly-close-automation/`)
```bash
python -m close_engine --period 2026-03 --out ./output   # full close; exit != 0 if not clean
python -m close_engine --demo-guardrails                 # inject 12 faults, prove all 10 controls (C1-C10) catch them
python -m close_engine.loop --demo --out output          # AUTONOMOUS LOOP: resync drift from sub-ledger, quarantine C10 tamper
python -m pytest -q                                      # 15,687 tests
```

## Loop verdicts (`close_engine/loop.py`)
`AUTO-POSTED` (0) / `AUTO-POSTED (PARTIAL)` (0, something quarantined) / `HALTED` (1).
Boundary of autonomy: C10 locked-period tamper -> QUARANTINE (held, never overwritten); C1 broken opening TB -> HALT (never fabricated).

## Key files
- `close_engine/engine.py` — 7 recurring-entry classes, refuses out-of-tie posts
- `close_engine/sentinel/` — controls C1-C10, shadow recompute, findings
- `close_engine/faults.py` — 12 seeded fault injectors (the drift vocabulary)
- `close_engine/loop.py` + `loop_report.py` — autonomous loop + Markdown/HTML reports

Windows consoles: set `PYTHONIOENCODING=utf-8` if emoji banners crash.

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.