--- # SPDX-License-Identifier: CC-BY-4.0 # Copyright (c) 2026 Martin Schröder title: Knowledge index --- # Knowledge: start here This collection explains **how** to do a kind of work. It never holds the answer to a task. - The task's own files and stated rules always win over any page here. Use a page only for what the task leaves open. If the request already states a rule, apply it as written. - The examples here are illustrations with invented data. Your task's data looks different; never take a fact, a count or an expected result from an example. - Open the workflow page first, then the one or two pages below that match your task. - Before a decision, say the rule you apply in your own words. Then act. ## First, for every task - How to work any task with tools, write the answer and stop: `/knowledge/agent-workflow/workflow.md` ## When the task asks you to ... **Write a file or handle missing data** - write `answer.json` or another JSON answer, or run a script to compute it: `/knowledge/agent-workflow/answer-file.md` - "do not guess", "may be incomplete", name what is missing, or answer with what you need: `/knowledge/agent-workflow/missing-information.md` **Compute a number or a date** - round money, compute VAT or tax, net and gross, percent, interest, cents: `/knowledge/calculation/money.md` - count days, business days, months or years, find a due date or last day, holidays, weekends: `/knowledge/calculation/dates.md` - compare with a limit: "more than", "at most", "within", "exceeds", a cap, "per commenced week", "in the last N days": `/knowledge/calculation/limits.md` **Bookkeeping (CSV ledgers, invoices, journals)** - reconcile a bank statement with a cash ledger, adjusted cash balance, outstanding items, bank fees: `/knowledge/accounting/bank-reconciliation.md` - prepare a VAT return, VAT per invoice, output and input VAT, a rate table: `/knowledge/accounting/vat.md` - check a journal against source documents, faulty entries, transposition, duplicate, trial balance: `/knowledge/accounting/journal-errors.md` - close a period from `deliveries.csv`: goods or services received but not yet invoiced, accrued costs: `/knowledge/accounting/accrued-costs.md` - close a period from supplier invoices with a service period: prepaid costs: `/knowledge/accounting/prepaid-costs.md` - close a period from a list of fixed assets: depreciation: `/knowledge/accounting/depreciation.md` - consolidate a group: parent and subsidiaries, intercompany items, goods in transit: `/knowledge/accounting/consolidation.md` **Contracts (an agreement, clauses, a rule table, a case file)** - review an agreement for defects: undefined term, wrong cross-reference, conflicting clauses, missing clause: `/knowledge/legal/contract-review.md` - answer deadline questions under a contract: complaint, cure, payment due, late interest, notice period, limitation: `/knowledge/legal/deadlines.md` - assess a breach: late delivery, defective goods, evidence, remedies, liquidated damages, damages cap: `/knowledge/legal/breach.md` **Support desk (a ticket, a command-line case system, a policy)** - work any ticket through the command-line tool; resolve, escalate or ask the customer: `/knowledge/support/tickets.md` - decide a return, a refund, a defect claim, fraud review or the agent limit: `/knowledge/support/refunds.md` - source a purchase request from supplier quotes, place a purchase order: `/knowledge/support/procurement.md` **Short materials (acts, manuals, protocols, posts with a header of authority, version, date)** - decide the outcome of a case under the material and compute amounts due: `/knowledge/compiled/apply-rules.md` - answer a question from documents that disagree, or where one amends another: `/knowledge/compiled/which-document-wins.md` - give the date a deadline of the material falls on, or list draft items that break a limit: `/knowledge/compiled/deadlines-and-drafts.md` ## How every page is built Rule, then Procedure (numbered steps), then one Worked example, then Common mistakes. Read the rule and the procedure before you act; check the mistakes list before you finish.