> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Last 30 Days ZH

> 生成最近 30 天多源信号的中文研究简报。

[View on GitHub ->](https://github.com/AIsa-team/agent-skills/tree/main/last30days-zh)

**最近 30 天信号研究。** 汇总社交平台、社区、预测市场和网页结果，生成中文研究简报。

## Install

First, install the AIsa CLI if you have not already:

```bash theme={null}
npm install -g @aisa-one/cli
```

Then install the skill:

```bash theme={null}
aisa skills install last30days-zh
```

## What can agents do with it?

<CardGroup cols={2}>
  <Card title="Recent signal briefs" icon="calendar-days">
    Summarize what changed in the last 30 days.
  </Card>

  <Card title="Chinese reports" icon="language">
    Produce Chinese-language research output.
  </Card>

  <Card title="Social evidence" icon="comments">
    Include X, YouTube, and social platform signal.
  </Card>

  <Card title="Market context" icon="scale-balanced">
    Add prediction market and financial context when useful.
  </Card>
</CardGroup>

## 触发条件

* 当用户需要最近 30 天的人物、公司、产品、市场、工具或趋势研究时使用。
* 当用户需要竞品对比、发布反应、社区情绪、近期动态总结时使用。
* 当用户需要结构化 JSON 输出，例如 `query_plan`、`ranked_candidates`、`clusters`、`items_by_source` 时使用。

## 不适用场景

* 不适合纯百科类、没有时效要求的问题。
* 不适合只想看单一官方来源、完全不需要社区和社交信号的场景。

## 能力

* 通过 AISA 提供规划、重排、综合、grounded web search、X/Twitter、YouTube 和 Polymarket。
* Reddit 和 Hacker News 走公开路径。
* TikTok、Instagram、Threads、Pinterest 在启用时走托管发现路径。
* 对外发布层现在只保留无状态研究主链，不再默认携带旧的 watchlist / briefing / 第二凭证 GitHub 扩展面。

## 环境要求

* 主凭证：`AISA_API_KEY`
* Python `3.12+`
* 统一使用仓库相对路径下的 `scripts/` 命令，避免运行时变量替换失败。
* 可选 repo-local 配置文件：`./.last30days-data/config.env`，也可以直接传 `--api-key`。
* 小红书扩展只在显式提供 `XIAOHONGSHU_API_BASE` 时启用；公开发布包不会默认探测本地网络端点。

## 快速命令

```bash theme={null}
bash scripts/run-last30days.sh "$ARGUMENTS" --emit=compact
python3 scripts/last30days.py "$ARGUMENTS" --api-key="$AISA_API_KEY"
python3 scripts/last30days.py "$ARGUMENTS" --emit=json
python3 scripts/last30days.py "$ARGUMENTS" --quick
python3 scripts/last30days.py "$ARGUMENTS" --deep
python3 scripts/last30days.py --diagnose
```

## 示例

* `last30days OpenAI Agents SDK`
* `last30days Peter Steinberger`
* `last30days OpenClaw vs Codex`
* `last30days Kanye West --quick`

## Get started

1. Sign up at [aisa.one](https://aisa.one) (new accounts start with \$2 free credit).
2. Generate an API key from the console.
3. Set your key and install the skill:
   ```bash theme={null}
   export AISA_API_KEY="your-key"
   npm install -g @aisa-one/cli
   aisa skills install last30days-zh
   ```
4. Start a new agent session so the runtime loads the updated skill instructions.

## Related

<CardGroup cols={3}>
  <Card title="Last 30 Days" icon="calendar-days" href="/agent-skills/last30days">
    English-language recent evidence research.
  </Card>

  <Card title="AIsa Twitter Command Center" icon="twitter" href="/agent-skills/aisa-twitter-command-center">
    X/Twitter social research.
  </Card>

  <Card title="AIsa YouTube Search" icon="youtube" href="/agent-skills/aisa-youtube-search">
    YouTube video and channel discovery.
  </Card>
</CardGroup>
