Claude-skill-registry influencer-db
SQLite database for Israeli Tech Nano-Influencers with direct sqlite3 command-line access. Execute any SQL query or inspect schema. Simple and agent-friendly.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/influencer-db" ~/.claude/skills/majiayu000-claude-skill-registry-influencer-db && rm -rf "$T"
manifest:
skills/data/influencer-db/SKILL.mdsource content
Israeli Tech Nano-Influencers Database
A SQLite database with direct sqlite3 command-line access for managing Israeli tech nano-influencer data. Pure SQL with no abstractions.
Features
- Direct sqlite3 Access: Execute any SQL query using the sqlite3 CLI
- Schema Inspection: View database schema and table structures
- Flexible: Craft any query you need with full SQL power
- Version Controlled: Database file is tracked in git for easy collaboration
Database Schema
Tables
- Single table for all influencers (active and excluded)influencers
Profile & Identity:
(TEXT PRIMARY KEY) - Twitter/X usernametwitter_handle
(TEXT NOT NULL) - Full namename
(TEXT) - Professional role/titlerole
(TEXT) - Areas of expertise or interestfocus
(TEXT) - Professional backgroundbackground
(TEXT) - Link to Twitter/X profileprofile_url
Engagement & Activity:
(TEXT) - Description of recent posts/activityrecent_activity
(TEXT) - Assessment of engagement value (HIGH/MEDIUM/LOW)engagement_potential
(TEXT) - Date of most recent tweetlast_tweet_date
(TEXT) - Date of most recent replylast_reply_date
Location & Language:
(TEXT) - Geographic locationlocation
(TEXT) - Languages used in contentlanguage
(BOOLEAN) - Whether they write in Hebrew (0/1)hebrew_writer
X API Metrics (matching UserInfoResponse model):
(INTEGER) - Number of followersfollowers
(INTEGER) - Number of accounts they followfollowing
(INTEGER) - Total number of tweets/statusesstatuses_count
(INTEGER) - Total media items postedmedia_count
Discovery & Tracking:
(TEXT) - How the influencer was discovered/found (e.g., web search query, xai-grok search, website URL, referral path, Twitter list, recommendation from another influencer, etc.)discovery_path
(TEXT) - Why this influencer was added to the database (e.g., specific expertise, notable projects, unique perspective, community influence, content quality, etc.)rationale
(TEXT NOT NULL) - Date added to database (ISO 8601 format)added_date
(TEXT) - Date profile was last verified (ISO 8601 format)last_verified_date
Exclusion Management:
(BOOLEAN DEFAULT 0) - Whether excluded from active list (0=active, 1=excluded)excluded
(TEXT) - Date of exclusion (ISO 8601 format, nullable)excluded_date
(TEXT) - Reason for exclusion (nullable)exclusion_reason
Metadata:
(TEXT) - Additional notes or observationsnotes
(TIMESTAMP DEFAULT CURRENT_TIMESTAMP) - Record creation timestampcreated_at
(TIMESTAMP DEFAULT CURRENT_TIMESTAMP) - Last update timestamp (auto-updated)updated_at
Indexes:
- Fast queries by locationidx_influencers_location
- Fast queries by languageidx_influencers_hebrew_writer
- Fast queries by follower countidx_influencers_followers
- Fast queries for active vs excludedidx_influencers_excluded
Using sqlite3
The database is accessed using the
sqlite3 command-line tool (pre-installed on most systems).
Basic Usage
# Open database in interactive mode sqlite3 influencers.db # Execute a single query sqlite3 influencers.db "SELECT * FROM influencers LIMIT 5" # Get JSON output sqlite3 influencers.db ".mode json" "SELECT * FROM influencers LIMIT 5"
Common sqlite3 Commands
Meta commands (start with
):.
.tables # List all tables .schema influencers # Show table schema .mode json # Set output to JSON format .mode column # Set output to column format .headers on # Show column headers .quit # Exit sqlite3
SQL Query Examples
SELECT Queries
# Get all influencers sqlite3 influencers.db "SELECT * FROM influencers" # Get specific influencer sqlite3 influencers.db "SELECT * FROM influencers WHERE twitter_handle = 'oriSomething'" # Get with JSON output sqlite3 influencers.db -json "SELECT * FROM influencers WHERE location LIKE '%Tel Aviv%'" # Count by location sqlite3 influencers.db "SELECT location, COUNT(*) as count FROM influencers GROUP BY location"
INSERT Queries
# Add new influencer sqlite3 influencers.db "INSERT INTO influencers (twitter_handle, name, location, followers, hebrew_writer, added_date, last_verified_date) VALUES ('test_user', 'Test User', 'Tel Aviv', 1500, 1, '2025-10-26', '2025-10-26')" # Add with more fields sqlite3 influencers.db "INSERT INTO influencers (twitter_handle, name, role, focus, location, language, followers, following, statuses_count, media_count, hebrew_writer, engagement_potential, discovery_path, added_date) VALUES ('example', 'Example User', 'Developer', 'AI/ML', 'Israel', 'Hebrew, English', 2000, 500, 1500, 300, 1, 'HIGH', 'web search: Israeli AI developers', '2025-10-26')"
UPDATE Queries
# Update follower count sqlite3 influencers.db "UPDATE influencers SET followers = 2000 WHERE twitter_handle = 'test_user'" # Update multiple X API metrics sqlite3 influencers.db "UPDATE influencers SET followers = 2500, following = 600, statuses_count = 2000, media_count = 400 WHERE twitter_handle = 'test_user'"
DELETE Queries
# Delete specific influencer sqlite3 influencers.db "DELETE FROM influencers WHERE twitter_handle = 'test_user'"
Architecture
.claude/skills/influencer-db/ ├── SKILL.md # This documentation └── src/ └── schema.sql # Database schema (for reference) influencers.db # SQLite database (version controlled in git)
Tips for Agents
- Use JSON output: Add
flag for JSON output:-jsonsqlite3 influencers.db -json "SELECT ..." - Use transactions: For multiple operations, wrap in transaction (BEGIN/COMMIT)
- Check constraints: twitter_handle is PRIMARY KEY - handle conflicts gracefully
- Use indexes: location, followers, hebrew_writer, and excluded are indexed for fast queries
- Track discovery: Always populate
(how found) anddiscovery_path
(why added) when adding new influencers to track sourcing and decision-makingrationale