How yanos0218/ai works
claude-config is a personal Claude Code and Claude.ai configuration repository: it creates reusable guidance, skills, agents, hooks, and settings, then validates and distributes approved assets. The main workflow is maintaining assets in base/, installing them to ~/.claude for CLI/VS Code, or packaging skills for web upload. Distinct supporting capabilities include hook-based safety and format checks, PDF extraction, and an opt-in token-usage dashboard. Relationships for installation and surfaces follow README documentation; sampled hook and utility code supports the internal edges shown. Other unsampled wiring is omitted.
Main entry points: hooklib.py Hook common utilities · install.sh Local installer · skills Workflow skills · settings.example.json Hook configuration
Components 24
Configuration assets
- Shared guidance
base/claude-md/CLAUDE.md - Workflow skills
base/skills - Task agents
base/agents - Settings and rules
base/settings.example.json - VS Code setup
base/vscode
Hook safeguards
- Hook configuration
base/settings.example.json - Hook common utilities
base/hooks/hooklib.py - Format checking
base/hooks/format_check.py - List-format rules
base/hooks/check-cram.py - Verifier guard
base/hooks/verifier_guard.py - Bulk-read logging
base/hooks/bulk_read_log.py - Config-change logging
base/hooks/config_changelog.py
Distribution
- Local installer
tools/install.sh - Device bootstrap
tools/bootstrap.sh - Web skill packer
tools/pack.sh
User utilities
- PDF extraction
base/skills/pdf-extract/SKILL.md - PDF converter
base/skills/pdf-extract/scripts/pdf2md.py - Usage dashboard
base/skills/usage-dashboard/SKILL.md - Usage collector
base/skills/usage-dashboard/scripts/usage.py - Dashboard scripts
base/skills/usage-dashboard/scripts
Other components
- Config maintainer
- Claude Code
- Claude.ai surfaces
- MarkItDown
Connections 23
- Config maintainer → Shared guidance: maintains
README.md - Config maintainer → Workflow skills: maintains
README.md - Config maintainer → Task agents: maintains
README.md - Config maintainer → Settings and rules: maintains
README.md - Hook configuration → Hook common utilities: configures hooks
README.md - Format checking → List-format rules: loads rules
base/hooks/format_check.py - Verifier guard → Hook common utilities: uses utilities
base/hooks/verifier_guard.py - Bulk-read logging → Hook common utilities: uses utilities
base/hooks/bulk_read_log.py - Config-change logging → Hook common utilities: uses utilities
base/hooks/config_changelog.py - Config maintainer → Device bootstrap: starts setup
README.md - Device bootstrap → Local installer: runs installer
README.md - Config maintainer → Local installer: requests install
README.md - Local installer → Claude Code: copies configuration
README.md - Config maintainer → Web skill packer: requests packaging
README.md - Web skill packer → Claude.ai surfaces: uploads skill archive
README.md - Claude Code → Workflow skills: loads installed skills
README.md - Claude Code → Shared guidance: loads instructions
README.md - Claude Code → Hook configuration: runs configured hooks
README.md - Claude.ai surfaces → Workflow skills: loads uploaded skills
README.md - PDF extraction → PDF converter: uses converter
README.md - PDF converter → MarkItDown: converts PDF
base/skills/pdf-extract/scripts/pdf2md.py - Usage dashboard → Usage collector: provides collection
- Usage collector → Dashboard scripts: renders dashboard