본문으로 건너뛰기
cccskills
무료GitHub에 공개

auto-tag

Batch auto-tag untagged notes using content analysis

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구AWS
설치 방법 보기

포함된 파일(1)

  • SKILL.md4.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/auto-tag

Batch auto-tag notes that have empty or missing tags by analysing their content and type. Addresses the 61% empty tag rate in the vault.

Usage

/auto-tag                    # Process all untagged notes
/auto-tag <path>             # Process specific file or folder
/auto-tag --dry-run          # Preview changes without applying
/auto-tag --type Meeting     # Only process untagged notes of a specific type
/auto-tag --limit 50         # Process at most 50 notes

Instructions

Phase 1: Find Untagged Notes

Use Grep and Glob to find notes with empty tags:

# Find files with empty tags arrays
Grep for "tags: \[\]" in *.md files (exclude Templates/, .obsidian/, .claude/, Archive/)

# Also find files with no tags field at all
# Notes with tags containing only template variables

Filter results:

  • Exclude Templates/, .obsidian/, .claude/, Archive/, Attachments/
  • If --type specified, filter by frontmatter type field
  • If <path> specified, scope to that path
  • Sort by type for batch efficiency

Phase 2: Analyse and Tag (Parallel)

Launch parallel Haiku sub-agents, batching 20 notes per agent:

For each note, the agent should:

  1. Read frontmatter — extract type, title, project, status
  2. Read body content — first 500 words
  3. Determine tags using these rules:

Tag Selection Rules

By note type (always apply):

TypeAuto-tags
ADRtype/adr, activity/architecture
Meeting(infer from title/content)
Task(infer project from project: field)
Projectactivity/delivery + self-referencing project/ tag
Systemtype/system
Incubatoractivity/research
Researchactivity/research
Concept(infer from content)
Pattern(infer from content)
Email(infer from content)
Reference(infer from referenceType and content)
Trip(no tags needed — skip)
Dailydaily

By content analysis (keyword matching):

Content KeywordsSuggested Tag
AWS, Lambda, S3, EC2, Bedrocktechnology/aws
SAP, BTP, S/4HANA, UI5technology/sap
ERPSystem, MRO Vendortechnology/erp
Kafka, streaming, eventtechnology/kafka
Snowflake, data warehousetechnology/snowflake
security, IAM, encryptiondomain/security
data, analytics, pipelinedomain/data
engineering, maintenance, MROdomain/engineering
integration, API, middlewaredomain/integration
cloud, infrastructuredomain/cloud
architecture, design, patternactivity/architecture
research, investigation, POCactivity/research
governance, compliance, policyactivity/governance

By project: field (if present):

Project LinkTag
[[Project - Alpha]]project/alpha
[[Project - Beta]] or [[Project - Beta]]project/beta
[[Project - AlertHub]]project/alerthub
[[Project - Gamma]]project/gamma
[[Project - Delta]]project/delta
[[Project - Epsilon]]project/epsilon
[[Project - Cyber Uplift]]project/cyber-uplift

Tag count target: 2-5 tags per note. Prefer fewer, more accurate tags over many vague ones.

  1. Format tags — all lowercase, hierarchical, no # prefix
  2. Return — list of (filepath, suggested_tags) tuples

Phase 3: Apply Tags

For each note with suggested tags:

  1. Read current frontmatter
  2. If tags: [] — replace with suggested tags
  3. If no tags field — add tags: with suggested tags
  4. Write updated file using Edit tool

Format:

# Inline for 1-3 tags:
tags: [activity/research, domain/data]

# Multi-line for 4+ tags:
tags:
  - activity/architecture
  - technology/aws
  - domain/cloud
  - project/alerthub

Phase 4: Report

## Auto-Tag Results

**Notes processed:** {{count}}
**Notes tagged:** {{tagged_count}}
**Notes skipped:** {{skipped_count}} (already tagged or no suggestions)

### By Type
| Type | Tagged | Example Tags |
|------|--------|-------------|
| Meeting | 45 | project/*, domain/* |
| Concept | 30 | activity/*, domain/* |
| ADR | 20 | type/adr, technology/* |

### Sample Changes
| Note | Tags Added |
|------|-----------|
| {{note}} | {{tags}} |
| {{note}} | {{tags}} |

Safety

  • Always use --dry-run first for vault-wide operations
  • Never overwrite existing non-empty tags
  • Commit to git before running
  • Tags are additive only — never removes existing tags
  • Use the .claude/context/tag-taxonomy.md reference for valid hierarchies

Related Skills

  • /tag-management — Manual tag analysis and refactoring
  • /quality-report — Includes tag coverage metrics
  • /vault-maintenance — Includes tag health checks

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Batch populate summary fields using content analysis

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

Generate C4 architecture diagrams from system notes

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

canvas

무료

Create and edit Obsidian Canvas files for architecture visualization

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

Check Outlook inbox and update daily note with message summary

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

commit

무료

Stage and commit vault changes with UK English conventional commit messages

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

Evaluate an architecture artifact (ADR, HLD, LLD) against the vault's established architecture principles

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

DavidROliverBA의 스킬 모두 보기

이 스킬의 문제 신고