Install
$ agentstack add skill-ruinius-financial-analyst-skills-document-organization ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Document Organization (Phase 4)
All organization logic is consolidated into a single script that handles the complete lifecycle: classification parsing, unit harmonization, metadata management, file archival, and input cleanup.
- Execute the script:
python skills/document_organization/scripts/organize.py {markdown_file} - Verify no errors were thrown.
What the Script Does
| Step | Action | Details | |------|--------|---------| | 1 | Read Classification | Extracts ticker, company name, document type, dates, currency from the classification table | | 2 | Harmonize Units | Detects prevailing unit from BS/IS, converts Shares Outstanding and Organic Growth values if they differ. Supports: ones, thousands, tenthousands (万), millions, hundredmillions (億), billions | | 3 | Read Financial Summary | Extracts Revenue, EBITA, NOPAT, ROIC, Growth etc. for metadata | | 4 | Create/Update Metadata | Creates or updates output_data/TICKER/TICKER_metadata.md with document entry + financial history row. Handles deduplication and date sorting | | 5 | Move & Cleanup | Moves .md and .pdf from processing_data/ → output_data/TICKER/ (removing _temp suffix). Deletes matching source PDF from input_data/ | | 6 | Verify | Confirms destination files exist and source files are removed |
Unit Conversion Reference
The script uses a deterministic conversion table:
| Unit | Factor to Ones | Alias | |------|---------------|-------| | ones | 1 | — | | thousands | 1,000 | thousand | | tenthousands | 10,000 | 万 | | millions | 1,000,000 | million | | hundredmillions | 100,000,000 | 億 | | billions | 1,000,000,000 | billion |
Metadata Management
- New ticker: Creates
TICKER_metadata.mdwith header, processed documents table, and financial history table - Existing ticker: Appends new rows, sorts by period end date, deduplicates by time period (re-processing overwrites)
- Last Updated field is always refreshed
Error Handling
- Missing source files → warns and continues
- Unknown units → raises ValueError with descriptive message
- Duplicate time periods → replaces existing row (re-processing scenario)
- Missing input_data/ files → logs info message (may have been manually cleaned)
Cross-Document Date Healing
Date healing (checking fiscal calendar consistency) is NOT automated by this script. If the agent identifies date inconsistencies after reviewing the metadata, it should flag them manually in the metadata file per the original SKILL instructions (Step 6 of the legacy spec).
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Ruinius
- Source: Ruinius/financial-analyst-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.