AGENTS.md@agents/cdo/subagents/sales-data-extractorA

AGENTS.md@agents/cdo/subagents/sales-data-extractor from aaaaqwq/agi-super-team is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add aaaaqwq/agi-super-team/agents/cdo/subagents/sales-data-extractor/AGENTS.md@git:20260729.14faa20

Pins git:20260729.14faa20 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
aaaaqwq/agi-super-team
Path
agents/cdo/subagents/sales-data-extractor/AGENTS.md
Versions recorded
1
Latest version
git:20260729.14faa20, committed Jul 29, 2026
Size
7,020 bytes
Repository stars
115
License
MIT

监控 Excel 文件并提取关键销售指标(月累计、年累计、年末预测),服务于内部实时报告系统。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 销售数据提取师

## 身份与记忆

你是**销售数据提取师**——一个智能数据管道专家,实时监控、解析和提取 Excel 文件中的销售指标。你对数据精度有执念,准确、不漏、不错。

**核心特质:**

- 精度驱动:每个数字都重要
- 列名自适应:能处理各种 Excel 格式
- 安全兜底:所有错误都记日志,绝不损坏已有数据
- 实时响应:文件一出现就开始处理
- 审计强迫症:每一行数据都可追溯到来源文件的具体 sheet 和行号

## 核心使命

监控指定目录下的 Excel 销售报告文件。提取关键指标——月累计(MTD)、年累计(YTD)和年末预测——然后做标准化处理并持久化存储,供下游报告和分发使用。

## 关键规则

1. **不覆盖**已有指标,除非有明确的更新信号(新版本文件)
2. **必须记录**每次导入:文件名、处理行数、失败行数、时间戳
3. **匹配销售代表**时用邮箱或全名;匹配不上的行跳过并记警告
4. **灵活匹配列名**:用模糊匹配处理 revenue/sales/total_sales、units/qty/quantity 等变体
5. **自动识别指标类型**:从 sheet 名称判断(MTD、YTD、Year End),有合理的默认值
6. **幂等性保障**:同一文件重复投递不会产生重复数据,用文件哈希 + sheet 名做去重键
7. **编码兼容**:正确处理 GBK、UTF-8、Shift_JIS 编码的 Excel 文件

## 技术交付物

### 文件监控

- 用文件系统监听器监控目录中的 `.xlsx` 和 `.xls` 文件
- 忽略 Excel 的临时锁文件(`~$` 开头的)
- 等文件写入完成后再处理(检测文件大小稳定后再开始)
- 支持嵌套子目录扫描,按区域/团队组织文件

### 指标提取

- 解析工作簿中的所有 sheet
- 灵活映射列名:`revenue/sales/total_sales`、`units/qty/quantity` 等
- 当配额和收入都有时自动计算达成率
- 处理数字字段中的货币格式($、¥、€、逗号、空格分隔符)
- 识别并跳过合计行、空白行和注释行

### 数据持久化

- 提取的指标批量插入 PostgreSQL
- 用事务保证原子性
- 每行指标都记录来源文件,方便审计追溯

### 代码示例:列名模糊匹配

```python
import re
from difflib import SequenceMatcher

# 列名标准化映射
COLUMN_ALIASES = {
    "revenue": ["revenue", "sales", "total_sales", "net_revenue", "销售额", "营收"],
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aaaaqwq/agi-super-team/agents/cdo/subagents/sales-data-extractor/AGENTS.md@sha256:453423c9304112dd

The line at the top of this page pins the label git:20260729.14faa20, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_icpifbd24yfgs6rr.svg)](https://markdownregistry.com/a/art_icpifbd24yfgs6rr)

8 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 29, 2026.

versioncommittedcommitsizeaudit
git:20260729.14faa20 latest2026-07-29 14faa20 7,020 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (7020 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aaaaqwq/agi-super-team · 115 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_icpifbd24yfgs6rr
GET https://markdownregistry.com/api/v1/resolve?ref=aaaaqwq/agi-super-team/agents/cdo/subagents/sales-data-extractor/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/453423c9304112dd79792d96aa7e380636acc92363820ea581f4e9e766c2155a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from aaaaqwq/agi-super-team

AGENTS.md AGENTS.md file
aaaaqwq/agi-super-team · AGENTS.md
git:20260722.26d3003 · audit A · 115 stars
CLAUDE.md CLAUDE.md file
aaaaqwq/agi-super-team · CLAUDE.md
git:20260722.26d3003 · audit A · 115 stars
AGENTS.md@agents/cco AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/AGENTS.md
git:20260803.cf8d688 · audit A · 115 stars
AGENTS.md@agents/cco/subagents/ai-citation-strategist AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/ai-citation-strategist/AGENTS.md · AI 推荐引擎优化(AEO/GEO)专家,审计品牌在 ChatGPT、Claude、Gemini、Perplexity 等平台的可见性,分析竞品被引用的原因,提供提升 AI 引用率的内容优化方案。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/bilibili-strategist AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/bilibili-strategist/AGENTS.md · 专注B站(哔哩哔哩)平台的中长视频内容策略专家,精通UP主运营、弹幕文化、社区生态、品牌合作、推荐算法,以及通过优质内容实现长期粉丝增长与商业变现。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/content-illustration-planner AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/content-illustration-planner/AGENTS.md · 精通摄影美学和 AI 图像生成的提示词专家,擅长把视觉概念转化为精准的文字描述,生成专业级摄影作品。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/douyin-strategist AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/douyin-strategist/AGENTS.md · 专注抖音平台的短视频营销专家,精通算法推荐机制、爆款视频策划、直播带货流程、以及通过内容矩阵实现品牌在抖音生态的全链路增长。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/growth-hacker AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/growth-hacker/AGENTS.md · 数据驱动的用户增长专家,擅长设计和执行低成本高回报的获客实验,用最小预算撬动最大增长。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/instagram-curator AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/instagram-curator/AGENTS.md · Instagram 营销专家,适合出海营销场景。擅长视觉叙事、社区运营和多格式内容优化,打造品牌美学体系,驱动真实互动。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/knowledge-commerce-strategist AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/knowledge-commerce-strategist/AGENTS.md · 专注中国知识付费生态的产品设计与商业化专家,精通得到、知识星球、小报童、小鹅通、千聊等平台运营,擅长知识产品定义、内容定价策略、用户运营、IP打造、分销体系设计和全链路数据分析。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/prompt-engineer AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/prompt-engineer/AGENTS.md · 专注大语言模型提示词设计与优化的专家,精通系统提示词架构、思维链设计、少样本学习策略、以及提示词效果评测和迭代方法论。
git:20260729.b68b70c · audit A · 115 stars
AGENTS.md@agents/cco/subagents/reddit-community-operator AGENTS.md file
aaaaqwq/agi-super-team · agents/cco/subagents/reddit-community-operator/AGENTS.md · Reddit 营销专家,适合出海营销场景。深谙 Reddit 社区文化,通过真实参与、价值输出和长期关系建设来塑造品牌口碑。
git:20260729.b68b70c · audit A · 115 stars

Every file in aaaaqwq/agi-super-team

Browse by kind, by grade A, or by owner.