# Close

> Close temporary accounts and transfer balances to retained earnings

- **Type:** Skill
- **Install:** `agentstack add skill-bromso-metapowers-close`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [bromso](https://agentstack.voostack.com/s/bromso)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [bromso](https://github.com/bromso)
- **Source:** https://github.com/bromso/metapowers/tree/main/plugins/accounting/skills/close
- **Website:** https://bromso.github.io/metapowers/

## Install

```sh
agentstack add skill-bromso-metapowers-close
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Close

Close temporary accounts for "$ARGUMENTS". Zero out revenue, expense, and dividend accounts by transferring their balances to retained earnings.

## Prerequisites

Read `.metapowers/accounting/$ARGUMENTS/07-statements.md` for the financial statements and `.metapowers/accounting/$ARGUMENTS/06-adjusted-balance.md` for the adjusted trial balance.

## Process

1. **Close revenue accounts:**
   - Debit each revenue account for its full balance
   - Credit Income Summary for the total revenue
   - All revenue accounts should now have zero balances

2. **Close expense accounts:**
   - Credit each expense account for its full balance
   - Debit Income Summary for the total expenses
   - All expense accounts should now have zero balances

3. **Close Income Summary:**
   - If Income Summary has a credit balance (net income): debit Income Summary, credit Retained Earnings
   - If Income Summary has a debit balance (net loss): credit Income Summary, debit Retained Earnings
   - Income Summary should now have a zero balance

4. **Close dividends/draws:**
   - Credit Dividends (or Owner's Draws) for its full balance
   - Debit Retained Earnings
   - Dividends account should now have a zero balance

5. **Prepare post-closing trial balance:**
   - List only permanent accounts (assets, liabilities, equity)
   - Verify debits equal credits
   - These balances become the opening balances for the next period

6. **Write the artifact** to `.metapowers/accounting/$ARGUMENTS/08-close.md` with sections:
   - **Closing Journal Entries** — all closing entries with accounts and amounts
   - **Post-Closing Trial Balance** — permanent accounts only
   - **Period Summary** — net income transferred, dividends closed, ending retained earnings

## Output

The closing entries written to `.metapowers/accounting/$ARGUMENTS/08-close.md`. Present a summary highlighting:
- Net income transferred to retained earnings
- Ending retained earnings balance
- Confirmation that all temporary accounts are zeroed

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [bromso](https://github.com/bromso)
- **Source:** [bromso/metapowers](https://github.com/bromso/metapowers)
- **License:** MIT
- **Homepage:** https://bromso.github.io/metapowers/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-bromso-metapowers-close
- Seller: https://agentstack.voostack.com/s/bromso
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
