BD 情报采集数据库(SQLite):已采集内容去重、按日查询情报条目。
56
63%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./crews/main/skills/expert-bd/tools/info-record/SKILL.md在 Workspace db/info_record.db 中维护持久化 SQLite 数据库,供 Intel Gathering(商业情报采集)使用。
<Workspace 根>/db/info_record.db所有命令通过 PATH wrapper info-record <子命令> 调用,不要拼接脚本路径。初始化(幂等,可重复执行):info-record init-db。
| 字段 | 类型 | 说明 |
|---|---|---|
| id | INTEGER PRIMARY KEY AUTOINCREMENT | 自增主键 |
| source | TEXT NOT NULL | 信源(URL 或 平台-账号) |
| source_type | TEXT NOT NULL | 信源类型(xhs/dy/ks/bilibili/fb/x/wb/wx-mp/web) |
| title | TEXT | 内容标题(如有) |
| author | TEXT | 作者/发布者(如有) |
| publish_date | TEXT | 发布日期(如有) |
| content | TEXT NOT NULL | 采集内容(按用户要求的采集信息) |
| created_at | TEXT DEFAULT (strftime('%Y-%m-%d %H:%M:%S','now','localtime')) | 采集时间 |
info-record check-content --source <信源URL或标识>返回 JSON:{"exists": true/false}
info-record record-content \
--source <信源URL或标识> \
--source-type <信源类型> \
--title <标题> \
--author <作者> \
--publish-date <发布日期> \
--content <采集内容>返回 JSON:{"ok": true, "id": <记录ID>} 或 {"ok": false, "error": "..."}
info-record query-today返回今日采集的所有记录(JSON 数组格式)。
check-content 判断该内容是否已记录;已记录则跳过。record-content 将采集结果记录入库。query-today 读取当日所有采集信息,按与用户约定的交付形式生成交付物。72fd07a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.