/daloopa-investing:forensic TICKERfrom daloopa-investing
Performs forensic accounting review including non-GAAP bridge, accruals, cash conversion, revenue quality, and red-flag screening. Useful for short idea generation and long diligence.
Ships in daloopa-investing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Perform a forensic accounting and red-flag review for the company specified by the user: $ARGUMENTS
Before starting, read ../data-access.md (tools, citations, reuse), ../design-system.md and ../report-template.html (report format), and ../metrics-definitions.md (accrual ratios and their thresholds, cash conversion, FCF, the composite scores with every index, pull windows, year-to-date cash flows, filing sections to read, sector applicability). That file defines the metrics; this skill does not restate formulas.
This skill looks for the gap between the earnings a company presents and the earnings it produces. It is a screen for short ideas and a diligence step for longs. Every flag is a question to investigate, not an accusation. Most flags have a benign explanation, and the report states it beside each one.
Ownership (../data-access.md Section 7). This skill owns accruals, cash-conversion quality and every accounting red flag. /working-capital owns the cash conversion cycle and component detail: take DSO, DIO, DPO and operating NWC from its JSON sidecar when a fresh one exists, otherwise compute the headline figures per ../metrics-definitions.md and name /working-capital in Next steps.
Run the standard company setup (../data-access.md Section 1.2).
Sector gate (../metrics-definitions.md Section 8). For banks, insurers and other balance-sheet financials: accrual ratios, cash conversion, FCF and all three composite scores are not applicable. Run only the non-GAAP bridge (Step 4), stock compensation and dilution (Step 5), tax (Step 9), acquisitions (Step 10) and disclosure events (Step 11), add a reserving check in place of the others (provisions against net charge-offs, allowance against loans, or prior-year reserve development, from reported series), and say at the top of the report which checks were replaced.
Display window: 8 quarters. Pull window: 15 quarters, which supports LTM figures with year-over-year change at each displayed quarter-end; also pull the last 3 fiscal years as annual periods ("YYYYFY") for the composite scores (../metrics-definitions.md Section 1). If history is shorter, shorten the display window and say so.
Run discover_company_series without a period filter and read the names returned (start from knowledge/{TICKER}/kpis.md if it exists). Pull, splitting the calls by statement:
Process with a script. Run the year-to-date check on every cash-flow item before any calculation (../metrics-definitions.md Section 2). Record every standard item that is missing: a missing input is reported as missing, never estimated.
Read the sections that hold the answers (../metrics-definitions.md Section 7); do not run keyword batteries.
| Read | For |
|---|---|
| Latest earnings press release (8-K exhibit), and the one a year earlier | The non-GAAP reconciliation, and whether any measure's definition changed |
| Revenue recognition note, latest 10-K | Policy, changes in estimates, contract assets, deferred revenue, bill-and-hold, principal versus agent, factoring or sold receivables |
| Significant accounting policies note | Capitalization policies, useful lives, reserve methods, and any change in them |
| Business combinations and goodwill notes | Purchase accounting, impairment tests and headroom |
| Income tax note | Rate reconciliation, valuation allowance, discrete items |
| Item 9A; Item 4.01 and 4.02 8-Ks; NT filings in the window | Controls, material weaknesses, restatements, auditor changes, late filings |
| Segment note, latest and prior 10-K | Re-segmentation; KPIs redefined or dropped (compare with knowledge/{TICKER}/kpis.md if present) |
After the reads, use at most the default search budget for specific gaps, one phrase and one quarter per call. Report only what a document supports, with the tool's citation.
Expert calls (optional): per ../data-access.md Sections 1.8 and 8.4, for former-employee or channel accounts of quarter-end practices, discounting and channel inventory. One person's account is not evidence of misstatement: label it as opinion and cite.
If the company reports no non-GAAP measures, say so and go to Step 5. Otherwise, for each displayed quarter, bridge the GAAP figure the company headlines (operating income or net income) to the non-GAAP figure, one row per adjustment. For each adjustment:
Note any change in a measure's definition during the window.
The buyback price analysis belongs to /capital-allocation.
At each displayed quarter-end, on the LTM basis and with the thresholds in ../metrics-definitions.md Section 4: both accrual ratios, cash conversion, and FCF conversion. Apply the thresholds as written, including the rule that a negative accrual ratio is the normal state and not a sign of quality.
Where a ratio flags, identify which working-capital or non-cash line explains the gap between earnings and cash, using the cash-flow statement's working-capital lines.
revenue + change in deferred revenue) where relevantFrom the Step 3 reads: restatements and revisions, material weaknesses, auditor changes and critical audit matters, late filings, re-segmentations, KPIs redefined or discontinued (name each and the quarter it stopped), disclosed regulatory inquiries, and CFO or chief accounting officer departures. List only what a cited document supports. If a document type is not carried by Daloopa, write "not sourced".
Compute the Beneish M-Score and Piotroski F-Score exactly as written in ../metrics-definitions.md Section 6, from the annual data, showing every index, its inputs and their citations. Print "not computable: missing {input}" where an input is absent and "not applicable" where the sector gate says so. The Altman Z-Score is a distress measure and belongs to /credit.
State the limit in one sentence: these models were fitted on old samples of industrial companies; they point to where to look and do not override the line-by-line evidence.
Every check in Steps 4-12 ends in one of three states: flag, watch, or checked, nothing found.
For each flag and watch item record: the flag, the evidence with its citation, its size in dollars or basis points, severity, the benign explanation, and what would confirm it. Default severity criteria, stated in the report:
Overall read, one of: clean / items to monitor / needs answers / serious concerns. Name the two or three flags that matter most and the specific disclosure or data point next quarter that would resolve each. Do not pad the list to look thorough, and do not soften a real problem.
Save to reports/{TICKER}_forensic.html, written from ../report-template.html per ../design-system.md. Generate it with a script.
The report shows detail only where something was found. A section appears in the body only if its check produced a flag or a watch item. Everything else goes in one "Checked, Nothing Found" table.
Charts (inline SVG; each plots only values shown in a table; include a chart only if its section is in the body):
Sections, in order:
class="text"): flag, evidence, size, severity, benign explanation, what would confirm it; sorted by severity; severity criteria in the source line.class="text"): one row per check that came back clean, with the one figure that shows it (for example "Accrual ratio (Sloan), LTM: −3.1%, below the +5% watch level").../data-access.md Section 7): for example /working-capital for the component-level cycle, /call-diff if a definition or disclosure changed, /credit if weak cash conversion meets leverage. Then the footer.Citations, firm attribution and the reuse rule follow ../data-access.md Sections 4, 4.5 and 7.
Also write reports/{TICKER}_forensic.json with the overall read, each flag (name, severity, size), the accrual ratios, cash conversion, the scores and latest_calendar_quarter.
Run the Final Checks in ../design-system.md before saving. In addition: the GAAP figure plus the listed adjustments equals the non-GAAP figure in every quarter; every check appears exactly once, in the flag table or in "Checked, Nothing Found"; every threshold applied is the one in ../metrics-definitions.md or is labelled a default of this skill.
Tell the user where the report was saved. Give the overall read, the two or three flags that matter most with their size, and what would resolve each. If the accounts look clean, say they look clean. If non-GAAP earnings depend on excluding costs that recur every quarter, or reported cash flow does not survive stock compensation, state it with the numbers.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
forensic-accounting, accruals, cash-conversion, red-flags, non-gaap
Other plugins' skills for the same job
42 skills in this plugin
/activismActivist vulnerability assessment — performance gaps, likely activist playbook, and defense analysis/bomInteractive product bill-of-materials dashboard with an exploded view, mapping components, suppliers, unit costs, and gross margin sensitivity/build-modelBuild a multi-tab Excel financial model/bull-bearBull/bear/base case scenario framework for a given companynpx claudepluginhub daloopa/investing2 --plugin daloopa-investing