skills/claude-skills-open/skills/crm/query-leads/SKILL.md
Search, filter, reports on CRM data
npx skillsauth add aaaaqwq/agi-super-team query-leadsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search, filtering, and reports on CRM data
| What | Path |
|------|------|
| Leads | $CRM_PATH/relationships/leads.csv |
| Companies | $CRM_PATH/contacts/companies.csv |
| People | $CRM_PATH/contacts/people.csv |
| Activities | $CRM_PATH/activities.csv |
import pandas as pd
from datetime import date
leads = pd.read_csv('$CRM_PATH/relationships/leads.csv')
people = pd.read_csv('$CRM_PATH/contacts/people.csv')
companies = pd.read_csv('$CRM_PATH/contacts/companies.csv')
high = leads[leads['priority'] == 'high']
print(high[['lead_id', 'company_id', 'stage', 'next_action']])
today = str(date.today())
followups = leads[leads['next_action_date'] == today]
print(followups[['lead_id', 'company_id', 'next_action']])
# All inbound leads
inbound = leads[leads['source_direction'] == 'inbound']
# All from a specific source
from_facebook = leads[leads['source'] == 'facebook']
# Filter by campaign detail
campaign = leads[leads['source_detail'].str.contains('lookalike', na=False)]
# Leads in negotiation
negotiation = leads[leads['stage'] == 'negotiation']
# Won deals
won = leads[leads['stage'] == 'won']
# Count by stage
print(leads['stage'].value_counts())
# Count by priority
print(leads['priority'].value_counts())
# Count by source
print(leads['source'].value_counts())
# Add company name to leads
merged = leads.merge(
companies[['company_id', 'name', 'industry']],
on='company_id',
how='left'
)
# Add primary contact info
merged = merged.merge(
people[['person_id', 'first_name', 'last_name', 'email']],
left_on='primary_contact_id',
right_on='person_id',
how='left'
)
# To CSV
hot.to_csv('/tmp/hot_leads.csv', index=False)
# To JSON
hot.to_json('/tmp/hot_leads.json', orient='records', force_ascii=False)
# Just a list of emails
emails = hot['email'].dropna().tolist()
print(', '.join(emails))
add-lead -- add a new leadupdate-lead -- update existing recordshow-today -- tasks related to CRMdevelopment
Technology-agnostic prompt generator that creates customizable AI prompts for scanning codebases and identifying high-quality code exemplars. Supports multiple programming languages (.NET, Java, JavaScript, TypeScript, React, Angular, Python) with configurable analysis depth, categorization methods, and documentation formats to establish coding standards and maintain consistency across development teams.
tools
Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.
data-ai
Prompt for creating detailed feature implementation plans, following Epoch monorepo structure.
tools
Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.