automation
Bringing M&A Tax Due Diligence Into Your Agent Workflow
A practical look at the ma-tax-due-diligence skill for automating historical tax compliance, risk exposure, and deal-structure analysis.
Where this fits
Your client has just signed a letter of intent to acquire a 15-year-old logistics company. Before you can bless the deal, you need to confirm the seller's tax filings are clean, identify which liabilities will survive closing, and decide whether the target's high-tech zone tax holiday remains valid after the share transfer. ma-tax-due-diligence turns that multi-day workflow into a structured agent task: it reads financials and tax returns, checks historical compliance, estimates exposure, and produces a report that separates equity-acquisition and asset-acquisition consequences.
Why agents benefit
- Use the
readtool to parse five years of tax returns and audit memos, then flag missing schedules, late filings, and questionable deductions. - Use
grepto isolate related-party transactions, penalties, and tax-incentive claims scattered across spreadsheets and PDFs. - Run
bashcalculations to quantify under-provisioned taxes, surcharges for late payment, and the transfer-tax spread between a share deal and an asset deal. - Use
webfetchto verify the target's public tax status and industry risk profile, adding an independent check to seller-provided materials. - Map identified risks to the exact legal basis — PRC Enterprise Income Tax Law, SAT bulletins, or OECD Transfer Pricing Guidelines — so the final memo is ready for counsel review.
Practical scenarios
Evaluating an equity acquisition of a high-tech enterprise
The target's 15% preferential rate depends on maintaining its high-tech certificate and meeting R&D spending ratios. The skill walks the agent through qualification continuity: are the ratios still met after the ownership change? Does the transaction trigger any reporting obligation? Without this, the deal model may overstate post-acquisition tax savings.
Acquiring a target with unpaid withholding taxes
A seller who treated subcontractors as independent contractors leaves a trail of unreported individual income tax exposure. In an equity purchase the buyer inherits those risks; in an asset purchase the liabilities can be left behind. The skill calculates the exposure and tests both structures against the data.
Cross-border purchase of a Chinese subsidiary
A foreign buyer needs to understand PRC withholding tax on future dividends and capital gains, and whether a tax treaty reduces the rate. The agent uses the skill's framework to pull the relevant treaty articles and identify the procedural steps for claiming treaty benefits.
Add it to your agent workflow
Install the skill:
npx skills add guoliang1114-boop/AriaAI --skill ma-tax-due-diligence
Then invoke it with a data-room directory and deal parameters:
- use: ma-tax-due-diligence
input:
deal_type: equity-acquisition
target: Acme Logistics
data_room: ./data_room/acme/
years: 5
output:
report: ./output/acme_tax_dd.md
The agent will use its built-in read, grep, bash, and webfetch tools to complete each section of the report.
Compare before adopting
Before adopting, compare this skill with a generic tax-research prompt or a document-extraction pipeline. Check whether the repository is actively maintained — 37 stars is modest, but a stable checklist that cites specific legal provisions is more useful than a popular skill with vague instructions. Verify the workflow fit: does it accept your data-room layout? Does it output a report format your reviewers can consume? The README's legal table is a good indicator of the expected level of rigor.
Why it is worth tracking
ma-tax-due-diligence is worth tracking because it encodes an expert professional workflow rather than a generic instruction set. It is testable: a developer can run it against a fictional data room and inspect whether the report identifies the known risks. That quality signal — plus domain-specific legal grounding — makes it a strong candidate for reuse in M&A automation. You can inspect the full legal checklist in the OpenAgentSkill directory at https://www.openagentskill.com/skills/guoliang1114-boop-ma-tax-due-diligence to see if it matches your jurisdiction and deal types before integrating it.
Featured Skill
ma-tax-due-diligence
Skill by guoliang1114-boop