# Market Analyze

> Assess trend, regime, and risk state for one A-share symbol. Use when user wants current market interpretation from the normalized snapshot without action sizing, execution planning, or thesis narration.

- **Type:** Skill
- **Install:** `agentstack add skill-natsufox-a-stockit-market-analyze`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [NatsuFox](https://agentstack.voostack.com/s/natsufox)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [NatsuFox](https://github.com/NatsuFox)
- **Source:** https://github.com/NatsuFox/A-Stockit/tree/main/skills/astockit/market-analyze

## Install

```sh
agentstack add skill-natsufox-a-stockit-market-analyze
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Market Analyze

Assess scored market state for: $ARGUMENTS

## Overview

- Implementation status: code-backed
- Local entry script: `/market-analyze/run.py`
- Primary purpose: turn normalized market data into a readable current-state interpretation
- Research layer: descriptive analysis only
- Workflow stage: stage 4 `Signal and State Interpretation`
- Local executor guarantee: compute and return the current market snapshot summary, including score, bias, trend, regime, key levels, notes, and risk flags

## Use When

- The user wants current trend, regime, support, resistance, and risk-state interpretation.
- The user wants descriptive market-state context before moving into `decision-support`, `strategy-design`, or `technical-scan`.
- The user needs a bounded summary of the current snapshot rather than a thesis memo or full report.

## Do Not Use When

- The user wants a full report with decision and strategy sections. Use `market-brief`.
- The user wants a direct trading action or quantity. Use `decision-support`.
- The user wants technical-only pattern language or broader chart commentary beyond the runtime snapshot summary. Use `technical-scan`.
- The user wants raw normalized data only. Use `market-data`.
- The user wants broader catalyst, thesis, or variant-view analysis. Use `analysis`.

## Inputs

- Normal case: one stock symbol.
- Optional `--csv PATH`: use a local CSV instead of the default market source.
- Optional `--start`, `--end`, `--source`: constrain the data-loading path.
- If `symbol` is omitted, the skill may reuse `last_symbol` from the same execution context.
- Data note:
  - the local runtime derives its state from the normalized daily-bar frame
  - the user should not assume an intraday, benchmark-relative, or multi-factor attribution engine exists here

## Execution

### Step 1: Confirm the descriptive boundary

Use `market-analyze` for current-state interpretation only. It describes what the normalized snapshot currently looks like; it does not approve a position, design an execution plan, or validate a thesis.

### Step 2: Run the local executor

```bash
python3 /market-analyze/run.py  [--csv PATH]
```

### Step 3: Deliver the snapshot honestly

The local output should be interpreted as a bounded state summary built from the enriched market frame. The agent should state:

- the data source and date window
- whether the symbol was explicit or reused from session context
- that `score` and `bias` summarize current state heuristically
- that the skill does not imply portfolio action, catalyst interpretation, or execution readiness

## Output Contract

- Minimum local executor output: human-readable text beginning with `市场分析`.
- Core fields: symbol, board, score, bias, trend, regime, support, resistance, notes, and risk flags.
- Side effects: updates session memory for the current execution context.
- Caller-facing delivery standard:
  - identify the data source and date window
  - treat score and bias as descriptive state summaries, not expected-return claims
  - keep the answer interpretive and current-state oriented
  - say explicitly when the result does not incorporate fundamentals, catalysts, portfolio constraints, or execution assumptions

## Failure Handling

- Parse and argument errors: non-zero exit with a readable `命令错误` message.
- Data-loading or normalization errors: readable failure text beginning with `执行失败:`.
- Missing symbol with no reusable session symbol: readable guidance instead of a traceback.
- If the available data window is too thin for robust interpretation, say so directly rather than pretending high confidence.

## Key Rules

- Keep this skill interpretive rather than prescriptive.
- Use it as the clean descriptive anchor for `technical-scan`, `decision-support`, and `strategy-design`.
- Do not let a scored snapshot summary masquerade as a trading instruction.
- Do not imply indicators or controls that the current runtime does not actually expose in this skill’s local output.

## Composition

- Usually follows `market-data` or shares the same upstream loaders.
- Often feeds `technical-scan`, `decision-support`, `strategy-design`, and `market-brief`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [NatsuFox](https://github.com/NatsuFox)
- **Source:** [NatsuFox/A-Stockit](https://github.com/NatsuFox/A-Stockit)
- **License:** MIT

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

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-natsufox-a-stockit-market-analyze
- Seller: https://agentstack.voostack.com/s/natsufox
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
