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 skills add vivy-yi/finance-skills --skill trend-analysisgit clone --depth 1 https://github.com/vivy-yi/finance-skillsWrote 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/vivy-yi/finance-skills/trend-analysis)<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/trend-analysis"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/trend-analysis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vivy-yi/finance-skills/trend-analysis"><img src="https://agentmods.dev/badge/skills/vivy-yi/finance-skills/trend-analysis.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00094 | $0.02204 |
| Opus 5 | $0.00047 | $0.01102 |
| Sonnet 5 | $0.00019 | $0.00441 |
| Haiku 4.5 | $0.00009 | $0.00220 |
Grade A, and why
trend-analysis 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
加载上下文
首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(历史数据来源/季节性定义/预测模型)。
/trend-analysis — 趋势分析
Examples
→ 示例:用户说"帮我们分析一下近三年毛利率的变化趋势,找出结构性原因",系统应调用本技能,执行趋势分解和归因分析。
→ 示例:用户说"供应商集中度在上升,帮我做一下这个风险的趋势分析",系统应调用本技能,执行供应风险趋势分析。
→ 示例:用户说"主要产品的市场份额连续下滑,需要看趋势报告给董事会看",系统应调用本技能,生成市场份额趋势报告。
第一步:数据获取与准备
数据提取:
□ 数据来源:[BI 系统/ERP/财务系统]
□ 分析对象:[指标名称,如"收入"]
□ 分析维度:[按月/按季/按年]
□ 分析期间:[YYYY-MM 至 YYYY-MM]([X] 期数据点)
□ 粒度:[月度/季度/年度]
□ 数据记录数:[X] 条
数据质量检查:
□ 缺失值:[X] 期 — 处理方式 [插补/删除区间]
□ 异常值:[X] 个 — [描述]
□ 数据可比性:[✅ 一致(口径未变)/ ⚠️ 口径变化 [描述]]
□ 总体质量:[✅ 高 / ⚠️ 中 / 🔴 低]
第二步:趋势分解
时间序列分解模型:
□ 分解方法:[加法模型(Y = T + S + C + I)/ 乘法模型(Y = T × S × C × I)]
□ 选择依据:[数据特征]
□ 趋势成分(T, Trend):
→ 长期增长/下降方向:[上升/下降/平稳]
→ 年均增速:[X]%(复利)
→ 趋势方程:[Y = [系数] × t + [截距]](如线性拟合)
□ 季节成分(S, Seasonality):
→ 季节模式:[有/无] — [描述]
→ 旺季:[Q4/月12/月1/月2](收入最高)
→ 淡季:[Q1/月1/月2/月3](收入最低)
→ 季节波动幅度:[X]%(旺季 vs 淡季均值差异)
□ 周期成分(C, Cycle):
→ 周期长度:[X] 年(经济周期/行业周期)
→ 当前所处周期位置:[复苏/繁荣/下行/触底]
□ 不规则成分(I, Irregular):
→ 不规则波动幅度:[X]%(标准差/均值)
→ 是否存在显著异常:[是/否 — [描述]]
第三步:趋势分析
历史趋势统计:
□ 增长/下降总结:
→ 分析期间总变化:[+X]%(从 [X] 到 [X])
→ 年均复合增长率(CAGR):[X]%
→ 最高点:[YYYY-MM] — 值 [X]
→ 最低点:[YYYY-MM] — 值 [X]
□ 阶段性分析:
→ 阶段 1([YYYY-Q1] 至 [YYYY-Q2]):
· 趋势:[快速增长/稳定/下降]
· 增速:[X]%(季环比)
· 主要驱动:[因素]
→ 阶段 2:[...]
季节性分析(如存在):
□ 季节指数(以年度均值 = 100 为基准):
| 月份/季度 | 季节指数 | 说明 |
|-----------|---------|------|
| 1月/Q1 | [X] | 低于均值 |
| 2月/Q1 | [X] | 低于均值 |
| ... | ... | ... |
| 12月/Q4 | [X] | 高于均值 |
□ 季节性调整:
→ 原始值:[X] 万
→ 季节调整后:[X] 万(去除季节性影响)
第四步:预测建模
预测模型选择:
□ 模型选择依据:[数据特征/样本量/预测长度]
□ 采用模型:[简单移动平均/指数平滑/Holt-Winters/线性回归]
□ 模型参数:
→ 移动平均期数(如适用):[X] 期
→ 趋势平滑系数(α):[X]
→ 季节平滑系数(β):[X]
□ 模型拟合度:
→ R²(决定系数):[X]
→ MAPE(平均绝对百分比误差):[X]%
→ RMSE(均方根误差):[X]
未来预测:
□ 预测期间:[YYYY-MM 至 YYYY-MM]([X] 期)
□ 预测值:
| 期间 | 预测值 | 95% 置信区间 |
|------|--------|------------|
| [YYYY-MM] | [X] | [X-X] |
| [YYYY-MM] | [X] | [X-X] |
□ 趋势预测(季节调整后):
→ 未来 [X] 期趋势方向:[上升/下降/平稳]
→ 预测增速:[X]%(季环比/年环比)
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.
- 12d ago First seen · 235 lines · 94 tokens per session scan A 661144353dbc
trend-analysis is a skill published in the GitHub repository vivy-yi/finance-skills (29 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 2,204 once invoked, about $0.0005 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
infographics
Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes.
similarity-search-patterns
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.
figma-implement-design
Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma specs. Requires a…
datavis
Comprehensive data visualization toolkit for creating beautiful, mathematically elegant visualizations with D3.js, Chart.js, and custom SVG. Use when (1) building interactive data visualizations, (2) designing color palettes for charts, (3) choosing scales and visual encodings, (4) creating data pipelines from…
spec-kit-vibe-compat
Compatibility router for /speckit. workflows into /vibe-first Codex execution.
detecting-data-anomalies
Investigate outliers, rare events, spikes, and suspicious records in datasets. Use as an explicit anomaly-analysis helper when you want concrete anomaly-detection workflow guidance, not generic data validation or end-to-end ML ownership.