- Home
- Skills
- Finance & Accounting
- Insider Signal Reader: Form 4 and MAR trades that count
More screenshots
Works with the AI Agents you already use
Insider Signal Reader: Form 4 and MAR trades that count
by Ignasi
Strip grants, exercises and 10b5-1 noise from insider filings; classify routine vs opportunistic; US Form 4 script plus EU sources.
Free
Insider Signal Reader: Form 4 and MAR trades that count
Example session with this skill installed
Are insiders buying MSFT? Read the Form 4s and tell me which trades actually matter.
- Read your context and instructions
- Compiled the insider signal reader
Real run of the script on the bundled synthetic fixture (not a real company), 2026-11-23:
$ form4_insiders.py --from-dir sample_form4.xml (synthetic issuer)
window 2026-05-24 .. 2026-11-20 (180 d); filings read: 18
Noise dropped (not open-market, not counted):
M option exercise 1 lines 6,000 sh
F tax/exercise-price withholding 1 lines 1,800 sh
A grant/award 1 lines 20,000 sh
G gift 1 lines 1,000 sh
Open-market BUYS (P): 3 lines; 2 informative
09-10 ALICE [A] CEO 10,000 @ 100.00 9% of holding <routine>
08-25 CAROL [B] Dir. 3,000 @ 99.00 30% of holding <unclassified>
08-12 BOB [A] CFO 8,000 @ 98.50 20% of holding <opportunistic>
Open-market SELLS (S): 3 lines; 1 informative
10-20 ERIN [B] Dir. 12,000 @ 101.00 40% of holding <opportunistic>
09-02 DAN [B] SVP 6,000 @ 104.00 <with-exercise>
06-15 DAN [B] SVP 4,000 @ 105.00 <10b5-1>
cluster: 2 distinct informative buyers within 30 d -> YES
1 buy line unclassified: read as 'unknown', not 'deliberate'
Connects securely to your tools. The creator never sees your data.
About this skill
Insider filings are mostly noise: grants, option exercises, tax withholding, scheduled plan sales and buying that happens every September. Insider Signal Reader teaches your agent to separate those from the few trades that carry information, and to say "unknown" when the data cannot tell.
What it does
- Pulls a company's SEC Form 4 filings (script, standard library only) and keeps open-market purchases and sales; drops grants, exercises, tax withholding, gifts and the sale that funds an exercise.
- Flags 10b5-1 plan sales from the filing checkbox and footnotes.
- Classifies each insider routine or opportunistic using the Cohen-Malloy-Pomorski (2012) calendar-month test, and refuses to classify when the history it read is too short.
- Weighs by role tier, size against the insider's own holding, and clusters of distinct buyers.
- Covers Europe: MAR Article 19 managers' transactions, with the BaFin and CNMV endpoints, field quirks, and what each source misses; notes for France, the UK and Canada.
What you get
| File | Contents |
|---|---|
| SKILL.md | Procedure, order and reasons, hard rules |
| scripts/form4_insiders.py | EDGAR Form 4 puller and classifier |
| scripts/sample_form4.xml | 18 synthetic filings for a no-network trial |
| references/us-form4.md | Codes, XML fields, EDGAR endpoints and traps |
| references/classification-method.md | Routine rule, coverage rule, wording |
| references/eu-and-other-sources.md | BaFin, CNMV, UK, Canada, France |
| templates/insider-note.md | Write-up block |
Who it's for
Investors and analysts who check insider activity before or during a position review, and anyone building an agent that answers "are insiders buying?" without counting vesting events as conviction.
Scope
Covered: US issuers filing Form 4 (automated); German and Spanish registers (endpoints and field notes). Not covered: automated European fetching, derivative-table lines, Form 3 and 5, return backtests. The script needs your own contact address in SEC_USER_AGENT; it refuses to run without it.
Not investment advice.
The script covers US Form 4 only and reads non-derivative lines. The 10b5-1 checkbox is per filing, so mixed filings can over-flag. European sources are described, not fetched. The live EDGAR run could not be recorded in the build environment (no contact address available); the parser and classifier were tested on synthetic documents.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 10 days ago
- Free with an Agensi account
- Accounts
Sec
- Software
Python 3.9+SEC_USER_AGENT env var (name and contact email) for EDGARInternet access to sec.gov for live runs
Permissions
Allowed Hosts
Reads public SEC EDGAR endpoints only, about six requests a second. Writes a parsed-filing cache under ~/.cache/insider-signal-reader (SEC_CACHE_DIR to change). References mention portal.mvp.bafin.de and www.cnmv.es for the agent to fetch on request.
What's inside
Frequently Asked Questions
New in Finance & Accounting
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.