Skip to content
cccskills
FreePublished on GitHub

add-lead

Add company/person/relationship to CRM

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md4.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

CRM Add

Adding a new company, person, or relationship

When to use

  • "add company X"
  • "add contact Y"
  • "new client/partner/lead"

Architecture

See $SKILLS_PATH/skills/crm/README.md

Paths

WhatPath
Companies$CRM_PATH/contacts/companies.csv
People$CRM_PATH/contacts/people.csv
Clients$CRM_PATH/relationships/clients.csv
Partners$CRM_PATH/relationships/partners.csv
Leads$CRM_PATH/relationships/leads.csv
Products$CRM_PATH/products.csv

Schemas

contacts/companies.csv

company_id,name,website,linkedin_url,type,industry,geo,size,description,created_date,last_updated
  • type: company, enterprise, ngo, individual
  • size: small, medium, enterprise, individual

contacts/people.csv

person_id,first_name,last_name,email,phone,linkedin_url,company_id,role,notes,created_date,last_updated

relationships/clients.csv

client_id,company_id,product_id,status,contract_start,contract_end,mrr,currency,primary_contact_id,notes,created_date,last_updated
  • status: active, paused, churned

relationships/partners.csv

partner_id,company_id,product_id,partnership_type,status,since,primary_contact_id,revenue_share,notes,created_date,last_updated
  • partnership_type: training_partner, workforce_partner, reseller_agreement, referral_partner

relationships/leads.csv

lead_id,company_id,product_id,stage,source,source_direction,source_detail,priority,primary_contact_id,estimated_value,currency,next_action,next_action_date,notes,created_date,last_updated,last_contact_via_primary
  • stage: new, qualified, proposal, negotiation, won, lost
  • source: google, website, facebook, linkedin, email, telegram, referral, direct, event, calendly, research
  • source_direction: inbound, outbound
  • source_detail: (optional) campaign name, referrer, post URL, etc.

How to add

1. New company

import pandas as pd
from datetime import date

df = pd.read_csv('$CRM_PATH/contacts/companies.csv')

# Check for duplicate
if 'example.com' in df['website'].values:
    print("Company already exists!")
else:
    new_row = {
        'company_id': 'comp-example',
        'name': 'Example Inc',
        'website': 'example.com',
        'type': 'company',
        'industry': 'Technology',
        'geo': 'USA',
        'created_date': str(date.today()),
        'last_updated': str(date.today())
    }
    df = pd.concat([df, pd.DataFrame([new_row])], ignore_index=True)
    df.to_csv('$CRM_PATH/contacts/companies.csv', index=False)

2. New contact

# First make sure the company exists!
companies = pd.read_csv('$CRM_PATH/contacts/companies.csv')
if 'comp-example' not in companies['company_id'].values:
    print("Add the company first!")

people = pd.read_csv('$CRM_PATH/contacts/people.csv')

new_person = {
    'person_id': 'p-example-001',
    'first_name': 'John',
    'last_name': 'Doe',
    'email': 'john@example.com',
    'company_id': 'comp-example',
    'role': 'CEO',
    'created_date': str(date.today()),
    'last_updated': str(date.today())
}

3. New client (relationship)

# Company and product must exist!
clients = pd.read_csv('$CRM_PATH/relationships/clients.csv')

new_client = {
    'client_id': 'cli-example-001',
    'company_id': 'comp-example',
    'product_id': 'prod-labeling',
    'status': 'active',
    'contract_start': str(date.today()),
    'primary_contact_id': 'p-example-001',
    'created_date': str(date.today()),
    'last_updated': str(date.today())
}

Validation (REQUIRED!)

Before saving:

  • ID is unique
  • company_id exists in companies.csv (for people, relationships)
  • product_id exists in products.csv (for relationships)
  • person_id exists in people.csv (for primary_contact_id)
  • No duplicates (check by email, website, name)
  • created_date and last_updated are filled in

After changes:

  • Run change-review skill before PR

ID formats

TypeFormatExample
Companycomp-{name}comp-acme
Personp-{company}-{number}p-acme-001
Clientcli-{company}-{number}cli-acme-001
Partnerptnr-{company}-{number}ptnr-acme-001
Leadlead-{company}-{number}lead-newco-001

Related skills

  • update-lead -- update existing record
  • query-leads -- search
  • change-review -- review before PR

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

监控 A 股基金实时估值与盘后净值,自动判断交易日并生成提醒或分析。

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

Expert sales execution covering pipeline management, discovery, demos, negotiation, and deal closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

Support accounting understanding from basic bookkeeping to professional practice and research.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

Automate ActiveCampaign tasks via Rube MCP (Composio): manage contacts, tags, list subscriptions, automation enrollment, and tasks. Always search tools first for current schemas.

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

ads

Free

Comprehensive ad account analysis across all major platforms (Google, Meta Comprehensive paid advertising audit and optimization for any business type. Performs full multi-platform audits (Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, Microsoft Ads), single-platform deep analysis, conversion tracking health checks, creative quality assessment, budget allocation optimization, bidding strategy evaluation, and compliance verification. Industry detection for SaaS, e-commerce, local service, B2B enterprise, info products, mobile app, real estate, healthcare, finance, and agency. Triggers on: "ads", "PPC", "paid advertising", "Google Ads", "Meta Ads", "Facebook Ads", "LinkedIn Ads", "TikTok Ads", "Microsoft Ads", "Bing Ads", "ad audit", "campaign audit", "ROAS", "conversion tracking", "creative fatigue", "bid strategy".

The English summary is being prepared. Showing the original description.

aAAaqwq/openclaw-team2Updated Jun 18, 2026

See all skills by aAAaqwq

Report a problem with this skill