← 返回 Skills 市场
steamb23

Naver news Search

作者 Choi Jiheon · GitHub ↗ · v1.0.2
cross-platform ✓ 安全检测通过
2977
总下载
3
收藏
6
当前安装
3
版本数
在 OpenClaw 中安装
/install naver-news
功能描述
Search Korean news articles using Naver Search API. Use when searching for Korean news, getting latest news updates, finding news about specific topics, or preparing daily news summaries. Supports relevance and date-based sorting.
使用说明 (SKILL.md)

\r \r

Naver News Search\r

\r Search Korean news articles using the Naver Search API.\r \r

Quick Start\r

\r Use the provided script to search news:\r \r

python scripts/search_news.py "검색어" --display 10 --sort date\r
```\r
\r
Options:\r
- `--display N`: Number of results per page (1-100, default: 10)\r
- `--start N`: Start position for pagination (1-1000, default: 1)\r
- `--sort sim|date`: Sort by relevance (sim) or date (date, default: date)\r
- `--after DATETIME`: Only show news published after this time (ISO 8601 format, e.g., `2026-01-29T09:00:00+09:00`)\r
- `--min-results N`: Minimum number of results to fetch (enables auto-pagination)\r
- `--max-pages N`: Maximum number of pages to try when auto-paginating (default: 5)\r
- `--json`: Output raw JSON instead of formatted text\r
\r
## Setup\r
\r
### Environment Variables\r
\r
Required credentials from https://developers.naver.com/:\r
\r
```bash\r
NAVER_CLIENT_ID=your_client_id\r
NAVER_CLIENT_SECRET=your_client_secret\r
```\r
\r
**Configuration locations:**\r
- **Sandbox (default):** Add to `agents.defaults.sandbox.docker.env` in OpenClaw config\r
- **Host:** Add to `env.vars` in OpenClaw config\r
\r
### Getting API Credentials\r
\r
1. Visit https://developers.naver.com/\r
2. Register an application\r
3. Enable "검색" (Search) API\r
4. Copy Client ID and Client Secret\r
5. Add credentials to appropriate config section (see above)\r
\r
## Common Use Cases\r
\r
### Latest news on a topic\r
\r
```bash\r
python scripts/search_news.py "AI 인공지능" --display 20 --sort date\r
```\r
\r
### Search with relevance ranking\r
\r
```bash\r
python scripts/search_news.py "삼성전자" --sort sim\r
```\r
\r
### Filter by time (only recent news)\r
\r
```bash\r
# News published after 9 AM today\r
python scripts/search_news.py "경제" --display 50 --sort sim --after "2026-01-29T09:00:00+09:00"\r
\r
# News from the last hour (programmatic use)\r
python scripts/search_news.py "속보" --after "$(date -u -d '1 hour ago' '+%Y-%m-%dT%H:%M:%S%z')"\r
```\r
\r
### Auto-pagination for guaranteed minimum results\r
\r
```bash\r
# Fetch at least 30 results (automatically requests multiple pages if needed)\r
python scripts/search_news.py "AI" --sort sim --after "2026-01-29T09:00:00+09:00" --min-results 30 --display 50\r
\r
# Limit to 3 pages maximum\r
python scripts/search_news.py "게임" --min-results 50 --max-pages 3\r
```\r
\r
**How auto-pagination works:**\r
1. Fetches first page (e.g., 50 results)\r
2. Applies date filter (e.g., 10 results remain)\r
3. If below `--min-results`, automatically fetches next page\r
4. Stops when minimum is reached or `--max-pages` limit hit\r
\r
### Pagination for more results\r
\r
```bash\r
# First 10 results\r
python scripts/search_news.py "경제" --display 10 --start 1\r
\r
# Next 10 results\r
python scripts/search_news.py "경제" --display 10 --start 11\r
```\r
\r
## Using in Python Code\r
\r
Import and use the search function directly:\r
\r
```python\r
from scripts.search_news import search_news\r
\r
result = search_news(\r
    query="경제 뉴스",\r
    display=10,\r
    sort="date"\r
)\r
\r
for item in result["items"]:\r
    print(item["title"])\r
    print(item["description"])\r
    print(item["link"])\r
```\r
\r
## API Details\r
\r
For complete API reference including response structure, error codes, and rate limits, see:\r
\r
**[references/api.md](references/api.md)**\r
\r
## Notes\r
\r
- Search queries must be UTF-8 encoded\r
- Results include `\x3Cb>` tags around search term matches (strip them for clean text)\r
- Daily limit: 25,000 API calls per application\r
- `link` field may point to Naver News or original source depending on availability\r
安全使用建议
This skill appears coherent: it needs only python3 and your Naver app credentials to call Naver's official news search API. Before installing: (1) create a Naver developer application and use its Client ID/Secret; (2) store those credentials securely (prefer sandbox-scoped env over global host env) and limit which agents receive them; (3) be aware the script makes network requests to https://openapi.naver.com and will count toward the app's 25,000/day quota; (4) if you enable automated runs described in examples (cron/state files), ensure the agent's workspace and any state files (e.g., memory/news-state.json) do not contain other secrets; (5) if you have strict compliance requirements, review the included Python script yourself — it is short and uses only standard libraries.
功能分析
Type: OpenClaw Skill Name: naver-news Version: 1.0.2 The skill is a legitimate client for the Naver News API. It securely retrieves API credentials from environment variables (`NAVER_CLIENT_ID`, `NAVER_CLIENT_SECRET`), interacts with the official Naver API endpoint (`https://openapi.naver.com/v1/search/news.json`), and uses standard Python libraries. There is no evidence of data exfiltration to unauthorized endpoints, malicious execution, persistence mechanisms, obfuscation, or prompt injection attempts against the agent in any of the analyzed files. All instructions and code are directly related to its stated purpose of searching Korean news.
能力评估
Purpose & Capability
The skill name/description, included Python script, and required env vars (NAVER_CLIENT_ID, NAVER_CLIENT_SECRET) align with calling Naver's openapi.naver.com news search endpoint. Requiring python3 and the two Naver credentials is proportionate to the stated purpose.
Instruction Scope
The SKILL.md and examples provide CLI usage and automation guidance. They suggest storing runner state in memory/news-state.json for cron automation (a convenience for automation workflows). The runtime instructions and script only read env vars and call the official Naver API; they do not instruct reading unrelated system secrets. If you enable the automation example, the agent will need file access to whatever state file you choose.
Install Mechanism
No install spec or external downloads are used; this is instruction-only with an included Python script. Risk is low — the script uses standard library modules and makes network calls to Naver's official API.
Credentials
Only NAVER_CLIENT_ID and NAVER_CLIENT_SECRET are required, which are the expected credentials for Naver's API. The code uses those credentials only to set HTTP headers to openapi.naver.com. No unrelated credentials or secrets are requested.
Persistence & Privilege
always:false and no unusual privilege escalation are requested. The SKILL.md recommends adding credentials to OpenClaw config locations (sandbox or host), which is normal; ensure you store credentials in the appropriate, least-privileged config (prefer sandbox) and do not expose them to other agents.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install naver-news
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /naver-news 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added a README.md file with documentation and usage instructions for human. - Added an example output file: examples/daily-summary.md.
v1.0.1
- Added homepage URL and metadata fields to SKILL.md for improved integration and discoverability. - Updated documentation to reference "OpenClaw" instead of "Clawdbot" for configuration guidance. - No functional or code changes; documentation only.
v1.0.0
Initial release of naver-news skill. - Enables searching Korean news articles using the Naver Search API. - Supports filtering and sorting by date or relevance. - Includes command-line script with options for pagination, date filtering, and minimum results. - Supports auto-pagination to ensure a minimum number of news articles. - Setup instructions included for Naver API credentials. - Provides usage examples for common news search scenarios.
元数据
Slug naver-news
版本 1.0.2
许可证
累计安装 6
当前安装数 6
历史版本数 3
常见问题

Naver news Search 是什么?

Search Korean news articles using Naver Search API. Use when searching for Korean news, getting latest news updates, finding news about specific topics, or preparing daily news summaries. Supports relevance and date-based sorting. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2977 次。

如何安装 Naver news Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install naver-news」即可一键安装,无需额外配置。

Naver news Search 是免费的吗?

是的,Naver news Search 完全免费(开源免费),可自由下载、安装和使用。

Naver news Search 支持哪些平台?

Naver news Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Naver news Search?

由 Choi Jiheon(@steamb23)开发并维护,当前版本 v1.0.2。

💬 留言讨论