Agent skill
metadata-extraction
Extract and analyze metadata from files, images, documents for forensics and organization
Install this agent skill to your Project
npx add-skill https://github.com/ljchg12-hue/dotfiles/tree/main/skills/metadata-extraction
SKILL.md
Metadata Extraction Skill
Comprehensive metadata extraction and analysis from various file types.
When to Use
- Metadata extraction requests
- EXIF data from images
- Document properties analysis
- Keywords: "metadata", "EXIF", "file properties", "document info"
Core Capabilities
1. Image Metadata (EXIF)
- Camera settings, GPS coordinates
- Timestamps, camera model
- Software, copyright info
2. Document Metadata
- Author, title, keywords
- Creation/modification dates
- Edit history, hidden data
3. File System Metadata
- Timestamps (created/modified/accessed)
- Size, permissions, owner
- Extended attributes
4. Media Metadata
- Audio: Artist, album, bitrate
- Video: Codec, resolution, duration
Quick Reference
ExifTool Commands
# View all metadata
exiftool file.jpg
# Extract specific tags
exiftool -Title -Author document.pdf
# Remove all metadata
exiftool -all= file.jpg
# Batch extract to CSV
exiftool -csv -r /path/to/images > metadata.csv
# Extract GPS
exiftool -gps:all image.jpg
Other Tools
# Image (ImageMagick)
identify -verbose image.jpg
# PDF
pdfinfo document.pdf
# Audio/Video
mediainfo video.mp4
ffprobe -show_format audio.mp3
# File system
stat file.txt
Privacy Concerns
Sensitive Metadata:
- GPS coordinates (location)
- Author names (identity)
- Device serial numbers
- Edit timestamps
Removal:
# Remove all
exiftool -all= image.jpg
# Remove GPS only
exiftool -gps:all= image.jpg
Use Cases
- Photo Organization: GPS/timestamp for sorting
- Digital Forensics: Authorship, timeline
- Copyright Verification: Author info
- Data Privacy: Remove sensitive metadata
- Asset Management: Cataloging
Output Format
- File Info: Path, type, size
- Basic Metadata: Date, author, title
- Technical: Format, dimensions
- Privacy Concerns: Sensitive data detected
- Recommendations: Actions to take
Integration
- digital-forensics: Timeline reconstruction
- file-organization: Auto-categorization
- threat-hunting: Malware analysis
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
random-selection
Randomly select items from lists using various algorithms for fair and unbiased selection
threat-hunting
Proactive threat detection using Sigma rules, IOCs, and behavioral analytics
auth-implementation-patterns
Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.
debugging-strategies
Master systematic debugging techniques, profiling tools, and root cause analysis to efficiently track down bugs across any codebase or technology stack. Use when investigating bugs, performance issues, or unexpected behavior.
sql-optimization-patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
monorepo-management
Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.
Didn't find tool you were looking for?