AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Document Organization

skill-ruinius-financial-analyst-skills-document-organization · by Ruinius

Execute a single deterministic Python script to harmonize units, create/update metadata, move files to output_data/, and clean up input_data/.

No reviews yet
0 installs
23 views
0.0% view→install

Install

$ agentstack add skill-ruinius-financial-analyst-skills-document-organization

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ruinius-financial-analyst-skills-document-organization)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Document Organization? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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.

  1. Execute the script: python skills/document_organization/scripts/organize.py {markdown_file}
  2. 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.md with 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.