business-card-intake

Use when processing business-card images from 商务/图/未处理名片, renaming files by detected person name, moving cards to 商务/图/名片, and creating person notes from 模版/人物介绍 with YAML extracted from the card.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "business-card-intake" with this command: npx skills add caozheshan-gm/homemadeskills/caozheshan-gm-homemadeskills-business-card-intake

Business Card Intake

Overview

Use this skill to batch-process business card images with script-first reliability.

Pipeline:

  1. Read images from 商务/图/未处理名片
  2. OCR detect person name and rename file to that name
  3. Move renamed image to 商务/图/名片
  4. Create note in 商务/人物/<人物名>.md from 模版/人物介绍.md
  5. Fill YAML fields from OCR text when available, leave unknown fields empty
  6. Insert card image immediately after ## 照片:: on the same line

This version is self-contained and does not import repository scripts/*. Dependency: tesseract must be available in PATH.

Run

python3 skills/business-card-intake/scripts/process_cards.py

Useful options:

python3 skills/business-card-intake/scripts/process_cards.py --dry-run
python3 skills/business-card-intake/scripts/process_cards.py --backend tesseract
python3 skills/business-card-intake/scripts/process_cards.py --overwrite-notes

Sync Existing People Notes (Structure Only)

Use this when 模版/人物介绍.md changed and you want to update existing notes in 商务/人物 without adding new semantic content.

This sync does only structural adjustments:

  • Reorder existing YAML keys to match the template order
  • Sync all template inline fields ## 标题:: (add/remove/reorder by template, keep existing value when same title exists)

Run preview:

python3 skills/business-card-intake/scripts/sync_people_structure.py

Apply changes:

python3 skills/business-card-intake/scripts/sync_people_structure.py --apply

Template keys are now always strict (source of truth):

python3 skills/business-card-intake/scripts/sync_people_structure.py --apply

Strict behavior:

  • Add missing YAML keys from template (use template default value)
  • Remove YAML keys not present in template

Rename mapping (preserve values after key/title rename):

python3 skills/business-card-intake/scripts/sync_people_structure.py \
  --yaml-rename old_key:new_key \
  --inline-rename 旧标题:新标题 \
  --apply

Safety guard:

  • Rename target must already exist in current template; otherwise script exits with error.

Paths

  • Input: 商务/图/未处理名片
  • Output images: 商务/图/名片
  • Output notes: 商务/人物
  • Template: 模版/人物介绍.md

Outputs

The script writes:

  • 商务/图/名片/card_intake_log_YYYYMMDD_HHMMSS.csv
  • 商务/图/名片/card_intake_undo_YYYYMMDD_HHMMSS.sh

Use the undo script to roll back image moves/renames quickly if needed.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

skill-encyclopedia-updater-universal

No summary provided by upstream source.

Repository SourceNeeds Review
General

Changelog

Changelog - command-line tool for everyday use

Registry SourceRecently Updated
General

Douban Bookmark

输入图书名称,把它加入豆瓣读书的「想读」收藏。适用于“把《xxx》加入豆瓣想读 / 愿望清单 / 想读列表”这类请求。实现方式:先用 HTTP 解析豆瓣搜索结果拿到最优图书详情页,再用 Playwright 持久化浏览器登录态打开详情页,执行豆瓣真实的两段式收藏流程(点“想读”→ 点“保存”)。首次登录后可长期复...

Registry SourceRecently Updated
General

WeRead Book Finder

输入图书名称,优先在微信读书搜索并加入书架;若微信读书没有可信命中或无法加入书架,则自动回退到 Z-Library 搜索并优先下载非 PDF 格式。适用于“把《xxx》加入微信读书书架,不行就去 Z-Library 下载”这类请求。

Registry SourceRecently Updated