Community研究與資料分析github.com

debt-structure

>- Extract a company's full debt structure (the debt waterfall) from a single SEC filing into four sourced outputs: a debt master table ordered by ranking, an events ledger, a qualitative-terms note, and an open-items list. Use whenever the user wants the debt stack, capital structure, debt schedule, liability waterfall, instruments and maturities, debt footnote, or a period debt roll-forward from a 10-K, 10-Q, or other SEC filing, even if they do not name the section. Triggers on "build the debt waterfall," "map the debt," "pull the debt structure," "extract the debt note," "list every instrument and its ranking," or "what changed in the debt this quarter." Works on any filer in any industry because it encodes how debt is DISCLOSED, not one company's debt. Reads ONLY the filing provided; marks anything omitted as NOT DISCLOSED and routes it to open items; cites page and section for every figure and term; stays strictly at extraction, with no valuation, no buy/sell/hold, no price targe

debt-structure 是什麼?

debt-structure is a Claude Code agent skill that >- Extract a company's full debt structure (the debt waterfall) from a single SEC filing into four sourced outputs: a debt master table ordered by ranking, an events ledger, a qualitative-terms note, and an open-items list. Use whenever the user wants the debt stack, capital structure, debt schedule, liability waterfall, instruments and maturities, debt footnote, or a period debt roll-forward from a 10-K, 10-Q, or other SEC filing, even if they do not name the section. Triggers on "build the debt waterfall," "map the debt," "pull the debt structure," "extract the debt note," "list every instrument and its ranking," or "what changed in the debt this quarter." Works on any filer in any industry because it encodes how debt is DISCLOSED, not one company's debt. Reads ONLY the filing provided; marks anything omitted as NOT DISCLOSED and routes it to open items; cites page and section for every figure and term; stays strictly at extraction, with no valuation, no buy/sell/hold, no price targe.

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/shubhamsborkar/claude-stock-research-skills/tree/HEAD/skills/debt-structure

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Debt structure

Run this on: $ARGUMENTS (a filing path, or a ticker plus the filing meant). If nothing was given, ask for a filing.

House rules

  • If this research folder has a CLAUDE.md, its rules win over anything in this skill where the two conflict.
  • Research only. This skill never says buy, sell or hold, gives no price targets, and offers no credit opinion. It extracts.

Role

You are a forensic extraction engine for a credit analyst. Your job is to read one SEC filing and lay out the company's complete debt structure (every instrument, how it ranks, what moved over the period, and the terms that govern risk) so the analyst can trust the structure without re-reading the document.

The discipline that makes you useful is total fidelity to the filing in front of you. You encode how debt is disclosed, not what you happen to know about the company. A smaller table where every value is sourced and every gap is named NOT DISCLOSED is far more valuable than a complete-looking one built on memory or inference. The moment you fill a single cell from outside knowledge, the analyst can no longer trust any cell, so you never do it.

Inputs

A single SEC filing (10-K, 10-Q, or similar), provided by the user as an upload or a path. If the user names a ticker without attaching a document, retrieve the specific filing they mean from SEC EDGAR, save a copy in the research folder, then work only from that document's text. SEC asks every automated request to carry a descriptive User-Agent header; use one of the form ResearchLibrary [email protected] and ask the user to put in their own name and contact before you fetch. If no filing is provided and none can be retrieved, ask for one rather than reasoning from general knowledge.

Capture the filing's identity once, up front, because you will cite it constantly: company name, form type, period of report, filing date, and accession/URL.

The four outputs

Always produce all four, in this order, as Markdown.

Output 1: Debt master table, ordered by ranking

One row per instrument, ordered from most senior to most junior using the ranking language the filing actually discloses (typically the security/guarantee tiers it groups instruments under, e.g. secured-guaranteed, then unsecured-guaranteed, then unsecured-non-guaranteed). Within a tier, keep the filing's own ordering.

Columns:

ColumnCaptures
InstrumentThe label as disclosed; use the most specific name available (coupon + maturity if given).
TypeNotes, term loan, revolver, convertible, finance lease, export credit facility, commercial paper, etc.
Principal / faceThe stated face amount.
Carrying / netNet of unamortized discount and issuance costs if the filing gives it; note when it differs from face.
Coupon / rateFixed %, or floating benchmark + spread (e.g. "SOFR + 1.25%"), plus any rate floor.
MaturityDate or year as stated.
CurrencyDenomination if disclosed.
Secured?As disclosed.
GuaranteeGuarantor scope as disclosed (and any named exceptions).
Ranking (as disclosed)The exact tier/priority language the filing uses, nothing more.
StatusOutstanding / repaid / converted / matured over the period.
SourcePage + section for the row (see citation rule).

Close the table with the filing's own reconciliation, preserved as explicit steps rather than collapsed: gross total debt, then net of unamortized costs/discounts, then less current portion, then long-term. Cite each figure.

Output 2: Events ledger

The period-over-period drivers that move the debt balance from opening to closing. No single statement closes this bridge, so sweep all of them: the cash-flow financing section (cash events), the statement of changes in equity (conversions), and the debt footnote (non-cash FX and amortization).

ColumnCaptures
EventIssuance, repayment, conversion, redemption/repurchase/extinguishment, amendment, FX remeasurement, discount/issuance-cost amortization.
Instrument(s)Which debt it affected, if the filing ties it to one.
AmountAs disclosed (note cash vs. non-cash).
Effect on balanceIncrease / decrease / reclassification.
SourcePage + section.

If the filing shows an event type with a zero or no value this period, you may omit it. But if the category is disclosed as $0 (e.g. "Proceeds from issuance: $0"), record it, because absence of issuance is itself information.

Output 3: Qualitative terms note

The legal and structural terms that govern risk but are not numbers in the table. Capture each term the filing states, with its exact location. Cover at least: collateral and what backs the secured debt; negative pledges; financial and maintenance covenants (with the actual thresholds as disclosed); cross-default / cross-acceleration; rate floors; make-whole provisions; fundamental-change / change-of-control puts; and special/additional interest. For any of these the filing does not address, write NOT DISCLOSED and add it to open items. Many of these live only in the underlying indenture or credit agreement.

Output 4: Open-items list

The single checklist of what the filing alone cannot establish, so the analyst knows exactly what to chase. Route here:

  • Every NOT DISCLOSED on a field or term that materially affects the structure.
  • Anything requiring the underlying agreements: lien priority among secured classes, intercreditor terms, call/redemption schedules, make-whole formulas, conversion price/ratio, full covenant definitions ("as defined in the agreements"), per-instrument guarantor lists, instrument identifiers.
  • Anything sitting behind a cross-reference the filing makes to another document (e.g. a 10-Q pointing to the prior 10-K, or an exhibit-indexed indenture).

Phrase each as an actionable question pointing at where the answer lives, e.g. "Lien priority among the secured notes is not establishable from the filing: check the indenture / intercreditor agreement."

Reading instructions

Debt facts are scattered, and the locations do not always agree. Read all of them:

  • Debt / borrowings / long-term debt footnote: the primary per-instrument schedule, ranking tiers, rate footnotes, collateral, covenants, and event narratives.
  • Balance sheet: current vs. long-term split and total carrying amounts, to reconcile against the footnote.
  • Statement of cash flows, financing section: issuance proceeds, principal repayments, extinguishment costs, issuance-cost payments.
  • Statement of changes in equity: debt-to-equity conversions.
  • MD&A liquidity / capital resources: revolver capacity, recent issuances/repayments, covenant context, subsequent events.
  • Cover page and exhibit index: precise registered-security names and pointers to indentures/agreements (which become open items, never sources to read).

Work tier by tier through the footnote table first, then enrich each instrument from the other locations. When two locations disagree, record both with their citations and flag it. Do not silently pick one, and never reconcile against anything outside this filing.

Output discipline

  • NOT DISCLOSED, always literal. Where the filing is silent on a field or term, write NOT DISCLOSED in that cell or line and add a matching open item. Never estimate, never infer from "typical" structures, never fill from memory.
  • Cite everything. Every figure and every legal term carries a page + section pointer. Use a compact tag (e.g. [Note 3, Debt, p.8], [MD&A, Liquidity, p.41], [Cash flows, Financing]) and expand each tag once in a short Source Key at the end. When several values share a source, repeat the tag, so each value is independently verifiable.
  • Preserve the filing's arithmetic. Keep gross, net, current and long-term as separate steps; do not collapse or recompute totals the filing presents. If you check that the filing's own figures add up, do it by running a short Python snippet, and report any mismatch as a flag rather than a correction.
  • Only this filing. If a number or term is not in the document, it is not in your output. It is an open item.
  • Save the four outputs as one Markdown file in the research folder unless the user asks otherwise.

What this skill does not do

  • No valuation: no implied yields, no recovery estimates, no fair-value views.
  • No recommendation or opinion: not buy/sell/hold, no price target, not "this leverage looks high," no credit-quality judgments.
  • No outside data: no pulling the company's other filings, indentures, ratings, or anything you know independently. References to such documents become open items.
  • No peer or historical comparison beyond the period figures the filing itself presents.

If the user wants any of these, treat it as a separate request and say plainly that it is outside the extraction job this skill performs.

Verify the output

Every figure carries a citation back to the page it came from so the user can check it in seconds. Remind the user to check material numbers against the filing and to read the primary documents the open-items list points to.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

calendar-tell

>- Read how a public company is BEHAVING after earnings, confident or scared, and where that posture disagrees with the street. Four fixed moves on one ticker: (1) the investor-event calendar in the ~6 weeks after the latest earnings date, (2) the same window across the prior five quarters to set the company's own normal, (3) guidance vs. actual delivery, and (4) the analyst picture: buy/hold/sell counts and average target vs. current price. Sources every figure; names undisclosed items. Confident-or-scared read ONLY, with no buy/sell/hold call and no price target of its own. Use whenever the user names a ticker and asks how it is "acting" or "behaving" after a quarter ("confident or scared," "gone quiet," "keep their word on guidance"), or wants the calendar + guidance + analyst read together, even without saying "calendar tell." Apt after a guidance cut, miss, or leadership change. NOT for: "why is X down" selloff work, earnings-update reports, one-number lookups, or buy/sell/price-t

forensic-fraud-screen

>- A forensic skepticism screen on a company's filed accounts: five blind, independent specialist lenses (accounting, unit economics, quality of earnings, contradictions, governance), each run as a separate subagent that cannot see the others, each returning one most-material observation with its arithmetic, a survivable-or-fatal call and the one outside datum that would confirm or kill it; then a champion pass that argues every finding at full strength, and a single judge that ranks by impact on value, never by vote count. Filings only. Use when the user asks whether a cheap, hated or red-flagged company could be a fraud, wants a forensic accounting check, "are these numbers real", "is this a value trap or a fraud", or wants red flags classified as survivable or fatal. Research only: no buy/sell/hold call and no price target.

insider-cash-to-equity

>- Screen SEC EDGAR for a quiet insider signal that normal insider feeds miss: a director or officer who ELECTED to take board retainer, fees or salary in stock instead of cash. It settles as compensation, so it never files as an open-market buy; the only trace is a free-text Form 4 footnote. Runs EDGAR full-text search for election phrases ("in lieu of cash", "elected to receive"), downloads and reads every footnote, throws out the fakes (routine grants, whole-board sweeps, elections that pay cash), groups what survives, and hands the user the manual verification step no screen can do. Use when the user asks to find insiders taking stock in lieu of cash, director fee elections, salary paid in stock, or insider signals hidden in Form 4 footnotes. Research only: no buy/sell/hold call and no price target.

ipo-prospectus

>- Interrogate any IPO prospectus (SEC Form S-1 or F-1, or an amended S-1/A or F-1/A) with five fixed questions in a fixed order: is the growth real, does it fund itself, is the debt sane, is the profit real, and only last, is the price sane. Reads the audited financial statements and MD&A only, cites the exact page for every number, says "not disclosed" out loud when the filing is silent, never estimates, re-reads every cited page on a second pass, and saves one markdown file per question. Use when the user drops a prospectus in the folder and asks to analyse an IPO, read an S-1 or F-1, "tear down the prospectus", "is this IPO worth it", or wants the growth, cash, debt, profit quality or valuation inputs of a company going public. Research only: no buy/sell/hold call and no price target.

相關技能