> ## 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.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Last 30 Days

> 面向自治智能体的 30 天多源研究能力：从 Reddit、X、YouTube、TikTok、Instagram、Hacker News、Polymarket、GitHub 和带来源依据的网页搜索 生成带引用的排序聚类简报。

[在 GitHub 上查看 ->](https://github.com/AIsa-team/agent-skills/tree/main/search-research/last30days)

**跨社交网络的近期证据研究。** 一个 `AISA_API_KEY` 聚合八个平台加上带来源依据的网页搜索 的最近 30 天信号，然后将结果排序、聚类为带引用的简报，通常约 40 秒完成。

## 安装

如果还没有安装 AIsa CLI，请先安装：

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

然后安装该技能：

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

> [!NOTE]
>
> 需要中文版？安装 [`last30days-zh`](https://github.com/AIsa-team/agent-skills/tree/main/search-research/last30days-zh)：生成最近 30 天多源信号的中文研究简报。
>
> ```bash theme={null}
> aisa skills install last30days-zh
> ```

## 智能体可以用它做什么？

> [card] 趋势扫描
>
> “这个月社区对 OpenAI Agents SDK 的讨论是什么？”

> [card] 竞品对比
>
> “Claude Code vs Codex——谁更赢得开发者心智？”

> [card] 发布反应
>
> “总结 Reddit、X 和 HN 上对 GPT-5 发布的反应。”

> [card] 人物 / 实体跟踪
>
> “Peter Steinberger 最近在发布和讨论什么？”

> [card] 市场信号
>
> “比特币价格叙事——新闻、预测市场和社交情绪。”

> [card] 面向智能体的结构化简报
>
> “返回 JSON clusters，供下游智能体继续行动。”

## 核心能力

* **一次调用覆盖八类来源** — Reddit、X/Twitter、YouTube、TikTok、Instagram、Hacker News、Polymarket 和带来源依据的网页搜索（可选 GitHub token 扩展 GitHub 覆盖）
* **排序证据聚类** — 按主题聚合高价值发现，每条包含 URL、日期和互动统计
* **按来源拆解** — 汇总哪些平台正在推动信号
* **Markdown 或 JSON 输出** — 默认生成可读简报，也支持 智能体工作流 使用的结构化 JSON
* **深度模式** — `--deep` 扩大候选池，并运行更深入的排序流程
* **AIsa 原生规划** — 使用 AIsa API 进行查询规划、候选重排和语义聚类

## 快速开始

```bash theme={null}
export AISA_API_KEY="your-key"
```

### 运行扫描

```bash theme={null}
# 趋势扫描
bash "${SKILL_ROOT}/scripts/run-last30days.sh" "OpenAI Agents SDK"

# 竞品对比
bash "${SKILL_ROOT}/scripts/run-last30days.sh" "Claude Code vs Codex"

# 发布反应（deep profile）
bash "${SKILL_ROOT}/scripts/run-last30days.sh" "GPT-5 launch --deep"
```

输出是 Markdown 简报，包含查询计划、排序候选、语义聚类、按来源列出的条目（日期 / 互动 / URL）、运行详情和错误日志。

## 何时使用

* 针对趋势、产品或人物的近期社交证据
* 带社区情绪的竞品排序对比
* 发布反应总结或近期 shipping 动态
* 给下游智能体使用的结构化 JSON 简报

## 何时不该使用

* 没有近期证据需求的 不涉及时效的参考性问题
* 只需要单一官方来源、不需要社区信号的场景

## 环境要求

* Python 3.12+
* `AISA_API_KEY`（在 [aisa.one](https://aisa.one) 注册，新账户有 \$1 免费额度）
* POSIX shell
* 可选：`GITHUB_TOKEN`，用于扩展 GitHub 来源覆盖

## 开始使用

1. 在 [aisa.one](https://aisa.one) 注册（新账户有 \$1 免费额度）。
2. 从控制台生成 API key。
3. `export AISA_API_KEY="your-key"` 并安装技能：
   ```bash theme={null}
   npm install -g @aisa-one/cli
   aisa skills install last30days
   ```
4. 启动新的智能体会话，技能会自动加载。

## 相关

> [card] [Perplexity Search](https://aisa.one/docs/zh/agent-skills/perplexity-search.md)
>
> 面向单查询研究的 带来源依据的网页答案。

> [card] [Twitter Autopilot](https://aisa.one/docs/zh/agent-skills/twitter-autopilot.md)
>
> 更深入的 X/Twitter 搜索、跟踪和发布。

> [card] [YouTube Search](https://aisa.one/docs/zh/agent-skills/youtube-serp.md)
>
> 面向视频主题的 YouTube SERP。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.