aipdood
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "aipdood" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-eaf67d5314c68465efd144091ef3a0128e1fcd3c14f54f105ac4bb88ff481a36. Verify the upstream source and version against https://skillhub.cn/skills/user_437f7810/aipdood before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A pDOOH (Programmatic Digital Out-of-Home) smart outdoor advertising platform that integrates five modules: outdoor ad location lookup, campaign plan generation, ROI calculation, competitor analysis, and market intelligence collection. Serves as a complete AI toolbox for outdoor ad placement.
Introduction source: third_party · user_437f7810 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: aipdood
description: "pDOOH(Programmatic Digital Out-of-Home)智能户外广告投放平台,整合了户外广告点位查询、投放方案生成、ROI计算、竞品分析、市场情报采集等五大功能模块。这是一套完整的户外广告AI投放工具箱,让任何人都能快速调用的媒体资源、生成方案、计算效果。"pDOOH 智能户外广告投放平台 Skill
概述
pDOOH(Programmatic Digital Out-of-Home)智能户外广告投放平台,整合了户外广告点位查询、投放方案生成、ROI计算、竞品分析、市场情报采集等五大功能模块。
一、服务架构
| 端口 | 服务 | 功能 | 状态 |
|---|---|---|---|
| 5002 | MCP Server | 24个MCP工具 | ✅ |
| 5003 | Tom Agent | 方案生成、CPM计算 | ✅ |
| 5004 | ROI Agent | ROI三场景计算 | ✅ |
| 5005 | 竞品Agent | 市场情报、竞品分析 | ✅ |
| 5006 | BabyAGI | 任务编排 | ✅ |
服务地址
http://localhost:5002 # MCP Server
http://localhost:5003 # Tom Agent
http://localhost:5004 # ROI Agent
http://localhost:5005 # 竞品Agent
http://localhost:5006 # BabyAGI
二、MCP Server (5002) - 24个工具
2.1 核心投放工具
| # | 工具名 | 功能 | 参数 |
|---|---|---|---|
| 1 | pdooh_query_screens |
查询智能屏点位 | city, limit, district |
| 2 | pdooh_get_screen_audience |
获取屏人群画像 | screen_id |
| 3 | pdooh_create_campaign |
创建投放计划 | brand, city, budget, media_type |
| 4 | pdooh_query_campaigns |
查询投放计划 | campaign_id |
| 5 | pdooh_submit_creative |
提交创意物料 | campaign_id, creative_url |
| 6 | pdooh_query_report |
查询投放报告 | campaign_id |
| 7 | pdooh_compliance_check |
合规审核 | creative_url, industry |
2.2 AI能力工具
| # | 工具名 | 功能 | 参数 |
|---|---|---|---|
| 8 | pdooh_audience_insight |
受众洞察 | city, industry |
| 9 | pdooh_local_screens |
本地化屏资源 | city, district |
| 10 | pdooh_stats |
媒体统计 | media_type, city |
| 11 | pdooh_search |
智能搜索点位 | keyword |
| 12 | pdooh_smart_frames |
智能框架推荐 | budget, city |
2.3 媒体资源工具
| # | 工具名 | 功能 | 参数 |
|---|---|---|---|
| 13 | pdooh_query_access_points |
门禁广告点位 | city, district, limit |
| 14 | pdooh_query_smart_frames |
单元门点位 | city, district, limit |
| 15 | pdooh_query_daocha_points |
道闸点位 | city, district, limit |
| 16 | pdooh_query_led_points |
LED点位 | city, district, limit |
| 17 | pdooh_query_elevator_frames |
电梯框架 | city, district, limit |
| 18 | pdooh_query_shadow_points |
投影点位 | city, district, limit |
| 19 | pdooh_query_smart_screen_2025 |
2025智能屏 | city, limit |
2.4 城市资源工具
| # | 工具名 | 功能 | 参数 |
|---|---|---|---|
| 20 | pdooh_query_city_resources |
城市资源统计 | city |
| 21 | pdooh_query_city_summary |
全国城市汇总 | - |
| 22 | pdooh_query_customers |
客户通讯录 | brand, industry, city |
2.5 高级策略工具
| # | 工具名 | 功能 | 参数 |
|---|---|---|---|
| 23 | pdooh_strategy_suggestion |
策略建议 | brand, budget, city |
| 24 | pdooh_media_recommend |
媒体推荐 | brand, target_audience |
MCP调用示例
import urllib.request
import json
def mcp_call(tool_name, arguments):
data = {
"name": tool_name,
"arguments": json.dumps(arguments)
}
req = urllib.request.Request(
"http://localhost:5002/api/v2/mcp/pdooh/tools/call",
data=json.dumps(data).encode(),
headers={"Content-Type": "application/json"},
method="POST"
)
with urllib.request.urlopen(req, timeout=30) as resp:
return json.loads(resp.read())
# 查询广州广告门点位
result = mcp_call("pdooh_query_access_points", {"city": "广州", "limit": 100})
# 查询深圳单元门点位
result = mcp_call("pdooh_query_smart_frames", {"city": "深圳", "limit": 50})
# 城市资源统计
result = mcp_call("pdooh_query_city_resources", {"city": "上海"})
三、Tom Agent (5003) - 投放方案生成
3.1 API端点
| 端点 | 方法 | 功能 |
|---|---|---|
/health |
GET | 健康检查 |
/api/prompt |
GET | 系统提示词 |
/api/query/points |
POST | 查询点位 |
/api/query/city |
GET | 城市资源统计 |
/api/plan/generate |
POST | 生成投放方案 |
/api/pricing |
GET | 刊例价查询 |
/api/competitor |
GET | 竞品对比 |
/api/cpm/track |
POST | CPM跟踪计算 |
/api/cpm/compare |
POST | CPM对比 |
3.2 媒体组合策略
| 预算级别 | 单元门 | 广告门 | 智能屏 | 开门App |
|---|---|---|---|---|
| <5万 | 50% | 30% | 15% | 5% |
| 5-20万 | 40% | 30% | 15% | 15% |
| 20-50万 | 35% | 30% | 20% | 15% |
| >50万 | 30% | 28% | 22% | 20% |
3.3 Tom Agent调用示例
import urllib.request
import json
# 生成投放方案
data = {
"brand": "比亚迪",
"budget": "50万",
"city": "广州",
"duration": "4周"
}
req = urllib.request.Request(
"http://localhost:5003/api/plan/generate",
data=json.dumps(data).encode(),
headers={"Content-Type": "application/json"},
method="POST"
)
with urllib.request.urlopen(req, timeout=60) as resp:
result = json.loads(resp.read())
# CPM跟踪
data = {
"city": "广州",
"media_type": "unit_door",
"weeks": 2,
"limit": 100
}
req = urllib.request.Request(
"http://localhost:5003/api/cpm/track",
data=json.dumps(data).encode(),
headers={"Content-Type": "application/json"},
method="POST"
)
with urllib.request.urlopen(req, timeout=30) as resp:
result = json.loads(resp.read())
四、ROI Agent (5004) - ROI计算
4.1 API端点
| 端点 | 方法 | 功能 |
|---|---|---|
/health |
GET | 健康检查 |
/api/roi |
POST | ROI三场景计算 |
/api/compare |
GET | 行业ROI对比 |
/api/formula |
GET | 公式说明 |
/api/categories |
GET | 行业分类 |
4.2 ROI三场景模型
| 场景 | 记忆率 | 客单价 | ROI |
|---|---|---|---|
| 悲观 | 15% | ¥20 | 859% |
| 中性 | 18% | ¥22 | 1,367% |
| 乐观 | 22% | ¥25 | 2,312% |
4.3 ROI Agent调用示例
import urllib.request
import json
# ROI计算
data = {"frames": 5000, "period_weeks": 2, "plan_type": "A"}
req = urllib.request.Request(
"http://localhost:5004/api/roi",
data=json.dumps(data).encode(),
headers={"Content-Type": "application/json"},
method="POST"
)
with urllib.request.urlopen(req, timeout=30) as resp:
result = json.loads(resp.read())
# 行业对比
req = urllib.request.Request("http://localhost:5004/api/compare", method="GET")
with urllib.request.urlopen(req, timeout=30) as resp:
result = json.loads(resp.read())
五、竞品Agent (5005) - 市场情报
5.1 API端点
| 端点 | 方法 | 功能 |
|---|---|---|
/health |
GET | 健康检查 |
/api/competitors |
GET | 竞品列表 |
/api/pricing |
GET | 竞品定价 |
/api/compare |
GET | 竞品对比 |
/api/intelligence |
GET | 市场情报 |
/api/intelligence/stats |
GET | 情报统计 |
/api/intelligence/search |
GET | 搜索情报 |
/api/industries |
GET | 行业分类 |
/api/brands |
GET | 重点品牌 |
5.2 行业分类(14个)
快消、日化、汽车、科技、零售、餐饮、教育、文旅、家电、母婴、美妆、通讯、酒水、饮料
5.3 竞品Agent调用示例
import urllib.request
import json
import urllib.parse
# 市场情报(按行业)
industry = urllib.parse.quote("汽车")
req = urllib.request.Request(
f"http://localhost:5005/api/intelligence?industry={industry}",
method="GET"
)
with urllib.request.urlopen(req, timeout=30) as resp:
result = json.loads(resp.read())
# 情报统计
req = urllib.request.Request("http://localhost:5005/api/intelligence/stats", method="GET")
with urllib.request.urlopen(req, timeout=30) as resp:
stats = json.loads(resp.read())
# 搜索品牌情报
keyword = urllib.parse.quote("比亚迪")
req = urllib.request.Request(
f"http://localhost:5005/api/intelligence/search?q={keyword}",
method="GET"
)
with urllib.request.urlopen(req, timeout=30) as resp:
result = json.loads(resp.read())
# 竞品列表
req = urllib.request.Request("http://localhost:5005/api/competitors", method="GET")
with urllib.request.urlopen(req, timeout=30) as resp:
competitors = json.loads(resp.read())
六、BabyAGI (5006) - 任务编排
6.1 API端点
| 端点 | 方法 | 功能 |
|---|---|---|
/health |
GET | 健康检查 |
/api/tasks |
GET | 任务列表 |
/api/tasks |
POST | 创建任务 |
/api/execute |
POST | 执行任务 |
6.2 任务类型
| 类型 | 说明 |
|---|---|
research |
市场调研 |
analysis |
数据分析 |
strategy |
策略制定 |
creative |
创意生成 |
report |
报告生成 |
6.3 BabyAGI调用示例
import urllib.request
import json
# 创建任务
data = {
"type": "research",
"description": "比亚迪华南区竞品分析",
"context": {"brand": "比亚迪", "region": "华南"}
}
req = urllib.request.Request(
"http://localhost:5006/api/tasks",
data=json.dumps(data).encode(),
headers={"Content-Type": "application/json"},
method="POST"
)
with urllib.request.urlopen(req, timeout=30) as resp:
task = json.loads(resp.read())
# 执行任务
data = {"task_id": task["id"]}
req = urllib.request.Request(
"http://localhost:5006/api/execute",
data=json.dumps(data).encode(),
headers={"Content-Type": "application/json"},
method="POST"
)
with urllib.request.urlopen(req, timeout=120) as resp:
result = json.loads(resp.read())
七、CPM计算模板
7.1 公式
单元门广告:
覆盖人次 = 数量 × 160次/天 × 0.6 × 7天 × 周数
CPM = (总费用 ÷ 覆盖人次) × 1,000
广告门广告:
覆盖人次 = 数量 × 300次/天 × 7天 × 周数 ÷ 8
CPM = (总费用 ÷ 覆盖人次) × 1,000
7.2 刊例价
| 媒体类型 | 核心城市 | 重点城市 |
|---|---|---|
| 广告门 | 5,280元/面/2周 | 4,680元/面/2周 |
| 单元门 | 1,180元/面/周 | 980元/面/周 |
7.3 CPM计算示例
# 100个单元门,2周,核心城市
q, w, p = 100, 2, 1180
media = q * p * w
prod = q * 30
total = media + prod
imp = q * 160 * 0.6 * 7 * w
cpm = total / imp * 1000
print(f"单元门CPM: {cpm:.2f}元/千人")
# 50个广告门,2周,核心城市
q, w, p = 50, 2, 5280
media = q * p * w / 2
prod = q * 100
total = media + prod
imp = q * 300 * 7 * w / 8
cpm = total / imp * 1000
print(f"广告门CPM: {cpm:.2f}元/千人")
八、服务健康检查
8.1 一键检查脚本
#!/bin/bash
echo "=== pDOOH平台服务状态 ==="
for port in 5002 5003 5004 5005 5006; do
status=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:$port/health 2>/dev/null)
if [ "$status" = "200" ]; then
echo "端口 $port: ✅ 正常"
else
echo "端口 $port: ❌ 异常 (HTTP $status)"
fi
done
8.2 重启脚本
# 重启所有服务
cd /opt/AIAdPlacer/backend/app
pkill -f pdooh_mcp && nohup python3 pdooh_mcp.py &
pkill -f tom_agent && nohup python3 tom_agent.py &
pkill -f roi_agent && nohup python3 roi_agent.py &
pkill -f competitor_agent && nohup python3 competitor_agent.py &
pkill -f babyagi && nohup python3 babyagi_pdooh/pdooh_babyagi_api.py &
九、快捷命令
| 命令 | 功能 |
|---|---|
pdooh-test |
测试5个端口服务 |
pdooh-test quick |
快速检测 |
十、数据库
10.1 本地数据库
| 数据库 | 位置 | 说明 |
|---|---|---|
| 整合媒体库 | /home/admin/.copaw/workspaces/default/亲邻媒体库_整合版.db |
门禁、单元门、道闸点位 |
| 本地缓存 | /opt/AIAdPlacer/backend/app/qinlin_local.db |
MCP数据缓存 |
10.2 数据表
| 表名 | 字段 | 说明 |
|---|---|---|
| 门禁点位 | 省、市、区、商圈、楼盘名称、媒体面数 | 广告门 |
| 单元门点位 | 省份、城市、区域、资源名称、单元门数量 | 单元门 |
| 道闸点位 | 省、市、区、楼盘名称、道闸面数 | 道闸 |
十一、故障排除
11.1 常见问题
| 问题 | 解决方案 |
|---|---|
| 端口连接失败 | 检查服务进程 ps aux | grep pdooh |
| 数据为空 | 确认数据库路径正确 |
| API超时 | 增加timeout参数 |
11.2 日志位置
| 服务 | 日志文件 |
|---|---|
| MCP Server | /tmp/pdooh_mcp.log |
| Tom Agent | /tmp/tom_agent.log |
| ROI Agent | /tmp/roi_agent.log |
| 竞品Agent | /tmp/cv2.log |
十二、文件清单
| 文件 | 路径 |
|---|---|
| Skill文档 | /home/admin/.copaw/workspaces/default/skills/pdooh-platform/SKILL.md |
| 测试程序 | /opt/AIAdPlacer/backend/app/pdooh_tester.py |
| 快捷命令 | /home/admin/bin/pdooh-test |
| 媒体数据库 | /home/admin/.copaw/workspaces/default/亲邻媒体库_整合版.db |
版本: 1.0
更新日期: 2026-07-17
维护人: 龙哥(Tom AI助手)
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供完整的户外广告投放解决方案,包含五大核心功能模块
- 面向广告投放从业者,具有明确的商业应用场景
- 整合了从点位查询到ROI计算的完整投放流程
Highlights
- description清晰描述了pDOOH平台的核心功能
- 触发词完整覆盖户外广告投放的五大功能模块
- 边界清晰,用户能准确理解Skill的用途
Highlights
- 文档结构完整,包含概述、服务架构、详细功能说明
- 提供了完整的API调用示例和CPM计算模板
- 包含健康检查脚本和故障排除指南,实用性强
Highlights
- 提供了完整的API调用示例和错误处理机制
- 包含服务健康检查脚本和重启脚本
- 提供了详细的故障排除指南和日志位置说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- localhost
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.