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/awslabs/agentcore-samples/trend-analysisnpx skills add awslabs/agentcore-samples --skill trend-analysisgit clone --depth 1 https://github.com/awslabs/agentcore-samplesWrote 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/awslabs/agentcore-samples/trend-analysis)<a href="https://agentmods.dev/skills/awslabs/agentcore-samples/trend-analysis"><img src="https://agentmods.dev/badge/skills/awslabs/agentcore-samples/trend-analysis.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.00021 | $0.00385 |
| Opus 5 | $0.00010 | $0.00192 |
| Sonnet 5 | $0.00004 | $0.00077 |
| Haiku 4.5 | $0.00002 | $0.00038 |
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 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
Trend Analysis Skill
Use this skill when a user asks about price trends, momentum, technical analysis, or whether a stock is trending up or down.
Required workflow
- Retrieve current stock data using
get_stock_datafor each symbol in the request. - Retrieve sector data for the stock's sector using
get_sector_data. - Search for recent news affecting the stock using
search_newswith the stock's sector. - Evaluate momentum: classify the trend as Uptrend, Downtrend, or Sideways based on:
- Daily price change direction and magnitude
- Sector trend (outperforming / underperforming / neutral)
- News sentiment (positive / negative / mixed)
- Identify key support level: approximate as price × 0.95 (−5% from current).
- Identify key resistance level: approximate as price × 1.05 (+5% from current).
- Assign a confidence score (Low / Medium / High) based on alignment across price, sector, and news signals.
- Output a structured Trend Analysis Report with: symbol, current price, trend direction, momentum signal, key levels, and confidence.
Output Format
Trend Analysis: {SYMBOL}
Price : ${price} ({change_pct:+.2f}% today)
Trend : {Uptrend | Downtrend | Sideways}
Momentum : {signal description}
Support : ${support}
Resistance : ${resistance}
Confidence : {Low | Medium | High}
Summary : {1-2 sentence rationale}
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 · 40 lines · 21 tokens per session scan A 8184b68a91e0
trend-analysis is a skill published in the GitHub repository awslabs/agentcore-samples (3,326 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 385 once invoked, about $0.0001 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
travel-expense-audit
Audit travel / 差旅报销 claims against uploaded policy handbooks and rate tables (lodging caps, transport, per diem). Use for 差旅费审核, travel expense review, or lodging over-limit checks.
flow-nexus-platform
Comprehensive Flow Nexus platform management - authentication, sandboxes, app deployment, payments, and challenges.
agent-agentic-payments
Agent skill for agentic-payments - invoke with $agent-agentic-payments.
agent-payments
Agent skill for payments - invoke with $agent-payments.
risk-scoring
Score how concentrated and risky a portfolio is on a 0-100 scale from its position weights. Use when the user asks how risky their portfolio is, whether it is too concentrated, or for a diversification check.
valuation
Estimate whether a stock looks cheap or expensive using a price-to-earnings (P/E) based fair-value method. Use when the user asks if a stock is over- or under-valued, or for a fair-value / target price.