Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/chainstacklabs/polymarket-alpha-bot/alphapoly-featurenpx skills add chainstacklabs/polymarket-alpha-bot --skill alphapoly-featuregit clone --depth 1 https://github.com/chainstacklabs/polymarket-alpha-botWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-feature)<a href="https://agentmods.dev/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-feature"><img src="https://agentmods.dev/badge/skills/chainstacklabs/polymarket-alpha-bot/alphapoly-feature.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00122 | $0.00633 |
| Opus 5 | $0.00061 | $0.00316 |
| Sonnet 5 | $0.00024 | $0.00127 |
| Haiku 4.5 | $0.00012 | $0.00063 |
Grade A, and why
Adding Alphapoly Features scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Adding Alphapoly Features
Key Conventions
- Backend: Python + FastAPI,
uvonly (never pip/conda),polars(never pandas) - Frontend: Next.js App Router, TypeScript
- Default LLM:
xiaomi/mimo-v2-flash:freevia OpenRouter - Run Python from:
backend/directory
Workflow
- Implement — follow patterns in neighboring files; see Common Touch Points below
- Lint —
make lintauto-fixes backend (ruff) and frontend (prettier + eslint) - Typecheck —
cd frontend && npm run typecheck(report-only; fix all errors before committing) - Verify — start
make devand manually test the feature works (check API responses, UI renders, WebSocket connects) - Commit —
type: description(feat/fix/refactor/chore)
Common Touch Points
New API endpoint:
- Add router:
backend/server/routers/<name>.py - Register in:
backend/server/main.py - Add TS types:
frontend/types/ - For complex logic, add a service in
backend/server/(followportfolio_service.pypattern)
New pipeline step:
- Add to:
backend/core/steps/ - Wire into:
backend/core/runner.py - For LLM/ML model access: use singletons in
backend/core/models.py
New domain feature (trading, wallet, positions):
- Add subdirectory:
backend/core/<domain>/withmanager.pyand/orservice.py - Add router:
backend/server/routers/<domain>.py - Follow existing pattern in
core/positions/,core/wallet/,core/trading/
New UI page:
- Add:
frontend/app/<page>/page.tsx - Link from:
frontend/components/Sidebar.tsx - API/tier config:
frontend/config/(api-config.ts,tier-config.ts)
WebSocket service:
- Backend:
backend/server/routers/(followportfolio_prices.pypattern) - Frontend hook:
frontend/hooks/ - Note:
frontend/server.jsproxies/api/*and/ws/*to the backend
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 49 lines · 122 tokens per session scan A 646ee2f4798c
Adding Alphapoly Features is a skill published in the GitHub repository chainstacklabs/polymarket-alpha-bot (174 stars, last pushed 29d ago), licensed Apache-2.0. It adds 122 tokens to every session and 633 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
polymarket
Query Polymarket: markets, prices, orderbooks, history.
data-visualization
Use for creating publication-quality charts and multi-panel analysis summaries. Triggers when tasks involve visualizing data, plotting results, creating charts, or producing visual reports from analysis output.
cuml-machine-learning
Use for GPU-accelerated machine learning on tabular data using NVIDIA cuML. Triggers when tasks involve classification, regression, clustering, dimensionality reduction, or model training on datasets.
blog-post
Writes and structures long-form blog posts, creates tutorial outlines, and optimizes content for SEO with cover image generation. Use when the user asks to write a blog post, article, how-to guide, tutorial, technical writeup, thought leadership piece, or long-form content.
remember
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture…
textual-screenshot
Capture a Textual terminal UI as an SVG using its headless test harness. Use when asked to make, attach, or preview a screenshot of deepagents-code/dcode or another Textual app, visually verify a TUI state, or render a modal, screen, or widget without a desktop or browser.