f3-insights/automation-toolbox/intercompany-workstream
Claude Code and agent skill by f3-insights/automation-toolbox
- community
Checking that the SKILL.md file is still in the repository.
The job skill of accounting-intercompany-reconciliation, also read by the accounting-worker it dispatches, not for a user request: what monthly intercompany reconciliation adds to month-end-workstream. Covers the session's Steps, INTERCOMPANY-RULES.md (entities, intercompany accounts, allocation bases and their agreements, tolerance), the entity-pair matrix, matching across entities, the three causes of a difference, true-ups that book both sides, the worker section Reconcile a batch of pairs,…
Install
npx vskill@latest install f3-insights/automation-toolbox/intercompany-workstreamSKILL.md
The same SKILL.md was published earlier as f3-insights/automation-toolbox/intercompany-workstream.
Intercompany reconciliation
This skill extends month-end-workstream: keep its conduct and return its block. Load it with the Skill tool if it is not loaded. The reconciliation method is month-end-reconciliation; an entry is drafted as month-end-journal-entry says. The goal: every entity pair's intercompany balances net to zero at month end, or every difference is explained by a dated item and has a drafted entry or a named owner, so the consolidation eliminates cleanly and the auditor finds an agreement behind every cross-entity charge.
Steps
- [judgment] Orient. Read
INTERCOMPANY-RULES.md, the close'sMONTH-END-RULES.md, the period'sSTATUS.mdand the prior month'sreconciliations/intercompany/. The close owns the period'sSTATUS.md,LOG.mdand evidence file; this job writes only underreconciliations/intercompany/and import files injournal-entries/. - [judgment] Check the pull. The period's ledger pull in
work/source/must be dated after the last entry booked; a stale pull is reported and the work marked PRELIMINARY.
→ no pull for the period: stop
- [script] Build the matrix. Run
trial-balancewith--by-dimensionsover the period's pull (its--helpnames the inputs) or read the trial balance by entity it already wrote, and writereconciliations/intercompany/MATRIX-{yyyy-mm}.csv: each pair's due-from in one entity, due-to in the other, the difference, and the net across all pairs.
→ every pair within the tolerance and every allocation booked: step 6
- [hand-off: accounting-worker] Reconcile: one worker (model opus) per batch of pairs with a difference over the tolerance, and one for the month's allocations the rules list, in parallel, told to follow this skill's section Reconcile a batch of pairs, with the folder, the period, its pairs or allocations, the rules file's path, the answers so far and any reviewer fixes. Log each dispatch and record each return at once in
reconciliations/intercompany/INTERCOMPANY-LOG-{yyyy-mm}.md. - [hand-off: accounting-reviewer] Review every pair reconciliation and drafted entry, told to use
month-end-workstream's section Review an item, with the files and sources only. Save its note asreconciliations/intercompany/REVIEW-{yyyy-mm}-{subject}.md.
→ FAIL: step 4 (max 1)
- [script] Ask. A difference only a person can explain, and a FAIL that came back twice, goes to its role through comms-confirm (
confirm new,confirm task, oneconfirm relayat the end), recorded in the intercompany log. - [judgment] Hand off and close. Write
reconciliations/intercompany/HANDOFF-{yyyy-mm}.md(The hand-off), walk the DONE checklist with evidence, and report the matrix totals (pairs, pairs at zero, net difference), each open pair with its difference, cause and drafted entry, the reviewer's verdicts, missing agreements, and the questions as one numbered list the owner can answer "1) ok 2) no".
→ reported: done
The rules file
INTERCOMPANY-RULES.md, supplied with the Month-End folder, names:
- the entities and how the ledger tells them apart (an entity or location dimension);
- the intercompany accounts (due-from and due-to, or one clearing account) per entity;
- each recurring cross-entity charge (management fee, shared payroll, rent, equipment) with its basis, its source and its written agreement, or "no agreement";
- the tolerance, and who explains differences (a role).
It wins over this skill.
The matrix
One row per entity pair with a balance: entity A's due-from B, entity B's due-to A, the difference. A single clearing account is read the same way by its counterparty dimension. The matrix's net across all pairs is zero when the books are right; its total is the first fact the report gives.
Why a pair does not net
- One side only. A charge booked in one entity and not the other (the usual cause).
- Timing. Booked in different periods.
- Amount. Booked at different amounts, often an allocation computed twice.
Each unmatched item is named by its GL references on the side where it exists. The true-up books both sides in the period so the pair nets, cites the agreement, and reverses nothing a person booked.
The hand-off
The close (accounting-month-end-close) is the one writer of the period's state. This work writes only under reconciliations/intercompany/ and import files in journal-entries/ (STATE Posted, for a person to upload; agents never upload or post), and leaves HANDOFF-{yyyy-mm}.md with evidence rows (test, item, state, evidence, amount, note) the close records on its next session. The file is the contract between the two jobs: its name, its place and its row shape stay as they are.
DONE checklist
The main agent checks each item with evidence; the reviewer confirms 3 and 4.
- The matrix is built from a pull dated after the last booked entry, and its net is stated.
- Every pair over the tolerance has a reconciliation file.
- Every difference is traced to dated items or is an open question with an owner.
- Every drafted true-up and allocation entry passes
je-import-check, books both sides and cites its agreement. - Every recurring cross-entity charge has a written agreement or a finding saying it has none.
HANDOFF-{yyyy-mm}.mdlists every pair's state for the close.
Reconcile a batch of pairs
For an accounting-worker given the folder, the period, its entity pairs or the month's allocations, and the rules file's path. Read INTERCOMPANY-RULES.md and MONTH-END-RULES.md first. Commands: intacct-gl-detail, trial-balance, gl-normalize, accounting-je-import, accounting-je-import-check, excel-handle, mkdir -p. Skills: this one, month-end-reconciliation, month-end-journal-entry.
- Already done? A person's reconciliation or a booked true-up in the pull counts; return it as the evidence.
- Tie each pair. Pull the GL detail of both sides for the period. Match transactions across entities by amount, date and reference; list what is on one side only, in another period, or at a different amount. Write
reconciliations/intercompany/<pair> {yyyy-mm}.mdwith the balances, the matched total, each unmatched item and its cause. - Allocations. For each allocation the rules list, compute it from its stated basis and source, compare with what was booked, and draft the difference.
- Draft entries with
accounting-je-importasmonth-end-journal-entrysays (an import file a person uploads, STATE Posted), each line naming the agreement and the unmatched items it clears, and lint it withaccounting-je-import-check. A true-up books both sides so the pair nets to zero.
A difference with no transaction behind it is a question, never an entry. Return the month-end-workstream block with workstream: "intercompany": items with test reconciliations (item the pair as <entity>-<entity>, state reconciled or open, amount the difference) and entries (state drafted); findings for each pair with no written agreement and each allocation whose basis the record contradicts; proposals for rule changes with their source.
Later tools
intercompany-matrix: build the pair matrix from the trial balance pull by entity.intercompany-match: match both sides' GL detail and list the unmatched items per pair.intercompany-check: compute DONE items 1, 2, 4 and 6 from the folder.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaccounting/skills/intercompany-workstream/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/f3-insights/automation-toolbox/intercompany-workstream)