# Media Automation Lark

> Feishu content automation and Lark content workflows for creators and small teams. Use it for a Lark content workflow or RSS to Feishu archiving when users want to collect RSS/API feeds and public webpages, organize articles and files, build metrics dashboards, preview locally, or optionally write reviewed results to Feishu/Lark Bitable or Docs. 适用于将 RSS/API、公开网页、文章、图片、PDF、Office 文件或平台指标整理成 Markd…

- **Type:** Skill
- **Install:** `agentstack add skill-mianbaofang-media-automation-lark-media-automation-lark`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [mianbaofang](https://agentstack.voostack.com/s/mianbaofang)
- **Installs:** 0
- **Category:** [Web & Browser](https://agentstack.voostack.com/c/web-and-browser)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [mianbaofang](https://github.com/mianbaofang)
- **Source:** https://github.com/mianbaofang/media-automation-lark/tree/main/skills/media-automation-lark
- **Website:** https://mianbaofang.github.io/media-automation-lark/

## Install

```sh
agentstack add skill-mianbaofang-media-automation-lark-media-automation-lark
```

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

## About

# 自媒体自动化工作流（飞书 CLI 版）

源仓库的 `reports/skill-evidence/` 和 `evals/` 只保存审计、信任与输出契约证据，不属于运行时输入，也不随安装包发布。安装时只需要本目录中的 Skill、脚本、参考资料和安全策略。

## 执行骨架

1. 先读 `DISCLAIMER.md` 和 `references/workflow.md`；涉及飞书、搜索后端、API 或 Prompt 时再读对应参考文档。
2. 运行 `python scripts/env-check.py` 检查依赖。用户说“不会用”“打开面板”或“先检查环境”时，直接调用 `python scripts/panel-agent.py start --open` 并返回 URL。
3. 根据任务选择 `content-archiver.py`、`data-collector.py`、`material-manager.py` 或 `collector.py`；首次真实运行使用 `--dry-run`，搜索先用 `--offline-demo`（仅内置样例，不联网）。
4. 检查本地产物、分类、去重和摘要后，只有用户明确要求时才写入飞书；缺依赖、缺 key 或后端不可用时给出可执行降级提示。

`--offline-demo` 只检查搜索分类和 Markdown 写盘；`--dry-run` 仍可能读取真实输入或公开接口，但跳过飞书写入与机器人通知。B 站指标运行前先复制 `config.json.example` 为 `config.json`，把 `platforms.bilibili.mid` 填成数字 UID，再显式传入 `--config config.json`。本 Skill 不启动常驻调度器，定时任务由用户配置的 cron、systemd timer 或 Windows Task Scheduler 负责。

## 输出与安全边界

- 输出是本地 Markdown、JSON 备份、HTML 看板，或用户明确授权的飞书记录；源文件默认只读。
- URL 入口必须经过轻量的 `common.is_safe_url` 输入检查，拒绝非 HTTP(S)、localhost、云元数据主机以及字面上的 loopback、link-local、私网和保留 IP。普通域名不会做 DNS 解析，因此这不是完整的 SSRF 防护。
- 密钥只走环境变量或 `@env:`；不绕过登录限制、验证码、付费墙、加密或平台风控。
- 生成的中文摘要、标题、索引和通知默认按已安装 `renhua/SKILL.md` 规则润色；抓取正文保留原文，无 LLM key 时原样返回。

## 不适用范围 / Do not use

Do not use this Skill for:

- 只需要解释、翻译或普通文档写作，且没有要求执行内容采集、整理或飞书工作流的任务。
- 绕过登录、验证码、付费墙、加密或平台访问限制，或规避平台风控的任务。
- 未经用户明确确认，直接写入飞书/Lark 多维表格、云文档或发送机器人通知的任务。

## 资源

- `scripts/`：检测、面板、RSS/API、搜索采集、素材管理和飞书调用。
- `references/workflow.md`：完整场景分支、命令、降级和定时任务顺序。
- `references/`：飞书 CLI、API、Prompt、搜索后端和 renhua 规则。
- `assets/cron-examples/`：已审核的 crontab、systemd 和 Windows 任务模板。

## Source & license

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

- **Author:** [mianbaofang](https://github.com/mianbaofang)
- **Source:** [mianbaofang/media-automation-lark](https://github.com/mianbaofang/media-automation-lark)
- **License:** MIT
- **Homepage:** https://mianbaofang.github.io/media-automation-lark/

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-mianbaofang-media-automation-lark-media-automation-lark
- Seller: https://agentstack.voostack.com/s/mianbaofang
- 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%.
