Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{
"name": "agentic-engineering",
"description": "The autonomous engineering system for repository portfolios and everything its agents need — engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
"version": "7.9.1",
"version": "7.9.2",
"source": "./plugins/agentic-engineering"
},
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/agentic-engineering/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agentic-engineering",
"description": "The autonomous engineering system for repository portfolios and everything its agents need — engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
"version": "7.9.1",
"version": "7.9.2",
"author": {
"name": "devantler-tech",
"url": "https://github.com/devantler-tech"
Expand Down
2 changes: 1 addition & 1 deletion plugins/agentic-engineering/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agentic-engineering",
"description": "The autonomous engineering system for repository portfolios and everything its agents need — engineer, read-only surveyor, meta-engineer and Flux troubleshooter agents; portfolio, product, spend and improvement workflows; GitHub, CodeRabbit review, security, library documentation, Go, Kubernetes, Flux, Talos, SvelteKit frontend, Stripe payments, engineering-practice, design, product-management, marketing, finance and productivity skills; and the MCP servers they use; configured by the consumer AGENTS.md",
"version": "7.9.1",
"version": "7.9.2",
"author": {
"name": "devantler-tech",
"url": "https://github.com/devantler-tech"
Expand Down
4 changes: 4 additions & 0 deletions plugins/agentic-engineering/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog — `agentic-engineering`

## 7.9.2 — 2026-11-23

**Changed** — sync `numina-stripe` from `https://github.com/Numina-Technologies/mcp` at `refs/heads/main`.

## 7.9.1 — 2026-11-23

**Fixed** — the `portfolio-surveyor` call-shape rule now says that `--jq` runs once per page. A
Expand Down
30 changes: 24 additions & 6 deletions plugins/agentic-engineering/skills/numina-stripe/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
github-path: skills/numina-stripe
github-ref: refs/heads/main
github-repo: https://github.com/Numina-Technologies/mcp
github-tree-sha: 9aac97fef5c13d43f1c92b2b76f7182f8d75b48f
github-tree-sha: b71afa6407a7446bf9be6718e4c46273a22240de
name: numina-stripe
---
# Stripe → Numina
Expand All @@ -16,8 +16,10 @@ Numina.

## 1. Company and period

`get_company_info`: confirm the company and check `scopes` includes
`write:draft`. If not, ask the user to reconnect Numina.
`get_company_info`: confirm the company. Check that `create_draft` is among
your Numina tools: Numina only lists the tools the connection may use. If
it's missing, the connection is read-only; ask the user to reconnect Numina
with write access.

## 2. Accounts, once

Expand All @@ -29,13 +31,24 @@ fees account. Ask when unsure.

1. **Find the bank line.** `search_bank_transactions` with `text: "stripe"`,
`amount_min` = `amount_max` = the payout amount (positive, money in) and
`state: "unreconciled"`. Each result has the bank's
`state: "unreconciled"`, and `date_from` = the payout's `arrival_date`,
`date_to` = five days later. Each result has the bank's
`ledger_account_number`. Skip lines with `agent_processing: true`;
Numina is already on them. No line → the payout hasn't arrived yet; skip
it.

Use a line only when it's the single match in the payout's currency.
Payouts of the same amount are common with subscriptions, and a draft
on the wrong line still balances. With several matches, take the one
dated on the `arrival_date`; if that doesn't leave exactly one, list the
candidates and ask the user.
2. **List what's in the payout** from its Stripe balance transactions. Use
their settlement amounts (`amount`, `fee`): they're already in the payout
currency.

Stripe can only list this for automatic payouts. If the payout's
`automatic` is false, don't draft it: report it without a breakdown and
ask the user which transactions it covers.
3. **Group the charges:**
- **Denmark** → Danish output VAT code
- **EU business with a VAT number** → EU sale, no Danish VAT
Expand All @@ -45,7 +58,10 @@ fees account. Ask when unsure.
4. **`create_draft`** with `bank_transaction_id`, `date` = the payout date,
and lines that sum to 0:
- bank account (`ledger_account_number`): the payout, **positive**
- sales per group: **negative**, gross with a Danish VAT code
- sales per group: **negative**, with that group's VAT code from step
3. A group on Danish VAT takes the gross amount and the Danish output
VAT code. EU business sales take the EU sale code, and sales outside
the EU take no VAT code: never put Danish VAT on those.
- refunds: **positive**, on the same accounts and codes as the sale
- fees: **positive** on the fees account. Stripe's fees are usually
VAT-exempt; follow the code the company already uses for them.
Expand All @@ -60,4 +76,6 @@ fees account. Ask when unsure.
## 4. Report back

Per payout: amount, sales per VAT group, refunds, fees and
a link to the draft. Remind the user to approve the drafts in Numina.
a link to the draft. List the payouts you left out: not arrived, several
possible bank lines, or manual. Remind the user to approve the drafts in
Numina.
Loading