analyze SKILL.md skillA
analyze from shweta-mishra-ai/tokenmizer is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add shweta-mishra-ai/tokenmizer/analyze@git:20260611.1d9847ePins git:20260611.1d9847e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- shweta-mishra-ai/tokenmizer
- Path
.claude-plugin/skills/analyze/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260611.1d9847e, committed Jun 11, 2026
- Size
- 1,824 bytes
- Repository stars
- 34
- License
- MIT
Analyze a large file (CSV, Excel, PDF, JSON, code) and return a token-efficient summary. Instead of reading thousands of rows or pages, get schema + statistics + sample in under 500 tokens. Use when user mentions a file path, asks to analyze data, pastes many rows, or references a CSV/Excel/PDF/JSON file.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
Analyze a file using TokenMizer's file intelligence layer.
## IMPORTANT rule
**Never ask the user to paste the file content.** Always call TokenMizer to analyze it from the path. Pasting a 50,000-row CSV = 400,000 tokens. TokenMizer reduces it to ~450 tokens.
## What to do
Parse $ARGUMENTS:
- First word = file path
- Remaining words = query (what user wants to know)
```bash
FILE_PATH=$(echo "$ARGUMENTS" | awk '{print $1}')
QUERY=$(echo "$ARGUMENTS" | cut -d' ' -f2-)
python3 -c "
from tokenmizer.filters.file_intelligence import FileIntelligence
fi = FileIntelligence()
result = fi.process(
open('${FILE_PATH}', 'rb').read(),
'${FILE_PATH}'.split('/')[-1],
token_budget=600,
query='${QUERY}'
)
print(f'File: {result.file_type} | {result.original_tokens:,} → {result.extracted_tokens} tokens ({result.savings_pct:.0f}% saved)')
print()
print(result.content)
"
```
## Token savings by file type
| Type | Typical savings |
|---|---|
| CSV (50k rows) | 99.9% |
| PDF (200 pages) | 98.8% |
| Excel (10 sheets) | 99.7% |
| JSON (1k items) | 95% |
| Code (large file) | 60-80% |
## If TokenMizer not installed
```bash
pip install "tokenmizer[anthropic]"
```
…Read the whole file at its exact version.
How to install
mdr add shweta-mishra-ai/tokenmizer/analyze@sha256:200ddbde5c4a8001The line at the top of this page pins the label git:20260611.1d9847e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_biyypfp7b7zxurui)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jun 11, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1824 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
shweta-mishra-ai/tokenmizer · 34 stars · license MIT · pushed 2026-10-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_biyypfp7b7zxurui GET https://markdownregistry.com/api/v1/resolve?ref=shweta-mishra-ai/tokenmizer/analyze GET https://markdownregistry.com/api/v1/blob/200ddbde5c4a80013a325390da402e5a5faf7e2ff822c43e14128c66d8e5635d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from shweta-mishra-ai/tokenmizer
Every file in shweta-mishra-ai/tokenmizer