{
  "schemaVersion": "1.0",
  "item": {
    "slug": "people-strategy",
    "name": "People Strategy",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/makkzone/people-strategy",
    "canonicalUrl": "https://clawhub.ai/makkzone/people-strategy",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/people-strategy",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=people-strategy",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "people_skill.py",
      "requirements.txt",
      "database.py",
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/people-strategy"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/people-strategy",
    "agentPageUrl": "https://openagent3.xyz/skills/people-strategy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/people-strategy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/people-strategy/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Overview",
        "body": "A people relationship management agent skill that provides persistent graph-based storage using SQLite database. This skill enables AI agents to create, manage, and query a network of people and their relationships, making it ideal for building personal CRMs, organizational charts, mentorship networks, and collaboration mapping."
      },
      {
        "title": "Person Management",
        "body": "Create People: Add new people with comprehensive information (name, role, relation, organization, character, notes)\nRead People: Retrieve individual people or search/filter across the database\nUpdate People: Modify any person's information\nDelete People: Remove people from the database (cascades to relationships)\nSearch: Full-text search across names, roles, and organizations\nFilter: Filter by organization or relation type"
      },
      {
        "title": "Relationship Management",
        "body": "Create Edges: Establish directed relationships between people\nQuery Relationships: Get incoming, outgoing, or all relationships for a person\nUpdate Edges: Modify relationship types and descriptions\nDelete Edges: Remove specific relationships\nBidirectional Support: Track both directions of relationships"
      },
      {
        "title": "Graph Operations",
        "body": "Full Graph Export: Export entire network as JSON (nodes + edges)\nPerson Network: Get complete network view for an individual\nRelationship Types: Support for custom relationship types (reports_to, mentors, works_with, etc.)"
      },
      {
        "title": "Tables",
        "body": "people\n\nid: INTEGER PRIMARY KEY\nname: TEXT NOT NULL\nrole: TEXT\nrelation_to_me: TEXT\norganization: TEXT\ncharacter: TEXT\nnotes: TEXT\ncreated_at: TIMESTAMP\nupdated_at: TIMESTAMP\n\nedges\n\nid: INTEGER PRIMARY KEY\nfrom_person_id: INTEGER (FK to people.id)\nto_person_id: INTEGER (FK to people.id)\nrelationship_type: TEXT NOT NULL\ndescription: TEXT\ncreated_at: TIMESTAMP\nupdated_at: TIMESTAMP\nUNIQUE constraint on (from_person_id, to_person_id, relationship_type)"
      },
      {
        "title": "Indexes",
        "body": "idx_people_name: Index on people.name\nidx_edges_from: Index on edges.from_person_id\nidx_edges_to: Index on edges.to_person_id"
      },
      {
        "title": "Command Line Interface",
        "body": "# Person operations\npython people_skill.py add-person \"Jane Doe\" --role \"CTO\" --org \"StartupXYZ\" --relation \"Mentor\"\npython people_skill.py get-person 1\npython people_skill.py search \"engineer\"\npython people_skill.py list-people --org \"StartupXYZ\"\npython people_skill.py update-person 1 --notes \"Coffee meeting scheduled\"\npython people_skill.py delete-person 1\n\n# Relationship operations\npython people_skill.py add-relationship 1 2 \"mentors\" --description \"Tech career guidance\"\npython people_skill.py get-relationships 1\npython people_skill.py list-relationships\npython people_skill.py update-relationship 1 --type \"coaches\"\npython people_skill.py delete-relationship 1\n\n# Graph operations\npython people_skill.py get-graph\npython people_skill.py get-network 1"
      },
      {
        "title": "Python API",
        "body": "from database import PeopleDatabase\nfrom people_skill import PeopleAgent\n\n# Initialize\nagent = PeopleAgent(\"people.db\")\n\n# Add people\nresult = agent.add_person(\n    name=\"Alice Johnson\",\n    role=\"VP Engineering\",\n    relation_to_me=\"Former colleague\",\n    organization=\"TechCorp\",\n    character=\"Strategic thinker, empathetic leader\",\n    notes=\"Worked together 2020-2022\"\n)\nperson_id = result[\"person_id\"]\n\n# Add relationship\nagent.add_relationship(\n    from_person_id=1,\n    to_person_id=2,\n    relationship_type=\"manages\",\n    description=\"Direct manager relationship\"\n)\n\n# Query network\nnetwork = agent.get_person_network(person_id)\nprint(f\"Found {network['connections_count']} connections\")\n\n# Export graph\ngraph = agent.get_graph()\nprint(f\"Graph: {graph['nodes_count']} nodes, {graph['edges_count']} edges\")"
      },
      {
        "title": "Common Relationship Types",
        "body": "reports_to: Hierarchical reporting (subordinate → manager)\nmanages: Hierarchical management (manager → subordinate)\nworks_with: Peer collaboration\nmentors: Mentorship (mentor → mentee)\nmentored_by: Inverse mentorship (mentee → mentor)\nfriends_with: Personal friendship\nknows: Acquaintance\ncollaborates_with: Project collaboration\nintroduced_by: Connection source"
      },
      {
        "title": "1. Personal CRM",
        "body": "Track professional contacts, their roles, organizations, and how you know them. Add notes about conversations, meetings, or follow-ups.\n\npython people_skill.py add-person \"Sarah Chen\" \\\n  --role \"Product Director\" \\\n  --org \"InnovateCo\" \\\n  --relation \"Met at conference\" \\\n  --notes \"Interested in API collaboration, follow up Q2\""
      },
      {
        "title": "2. Organizational Mapping",
        "body": "Build and maintain organizational charts with reporting relationships.\n\n# Add team members\npython people_skill.py add-person \"Mike Lead\" --role \"Team Lead\" --org \"Engineering\"\npython people_skill.py add-person \"Dev One\" --role \"Engineer\" --org \"Engineering\"\npython people_skill.py add-person \"Dev Two\" --role \"Engineer\" --org \"Engineering\"\n\n# Create reporting structure\npython people_skill.py add-relationship 2 1 \"reports_to\"\npython people_skill.py add-relationship 3 1 \"reports_to\""
      },
      {
        "title": "3. Mentorship Network",
        "body": "Track mentorship relationships and career guidance connections.\n\npython people_skill.py add-relationship 5 3 \"mentors\" \\\n  --description \"Career guidance in ML/AI\""
      },
      {
        "title": "4. Collaboration Tracking",
        "body": "Map who works with whom on projects.\n\npython people_skill.py add-relationship 1 2 \"works_with\" \\\n  --description \"Project Phoenix collaboration\""
      },
      {
        "title": "5. Network Analysis",
        "body": "Analyze your professional network to identify key connections.\n\n# View someone's complete network\npython people_skill.py get-network 1\n\n# Export for visualization\npython people_skill.py get-graph > network.json"
      },
      {
        "title": "Bidirectional Relationship Queries",
        "body": "The system automatically handles both directions:\n\n# Get all relationships for a person\nedges = db.get_all_edges_for_person(person_id)\n# Returns: {\"outgoing\": [...], \"incoming\": [...]}"
      },
      {
        "title": "Cascade Deletion",
        "body": "Deleting a person automatically removes all associated relationships."
      },
      {
        "title": "Duplicate Prevention",
        "body": "The UNIQUE constraint prevents duplicate relationships between the same two people with the same type."
      },
      {
        "title": "Search Flexibility",
        "body": "Search works across multiple fields:\n\npython people_skill.py search \"engineer\"\n# Matches: names, roles, organizations"
      },
      {
        "title": "Export to Visualization Tools",
        "body": "# Export graph for tools like D3.js, Cytoscape, Gephi\npython people_skill.py get-graph > graph.json"
      },
      {
        "title": "Import from CSV",
        "body": "import csv\nfrom people_skill import PeopleAgent\n\nagent = PeopleAgent()\nwith open('contacts.csv', 'r') as f:\n    reader = csv.DictReader(f)\n    for row in reader:\n        agent.add_person(\n            name=row['name'],\n            role=row['role'],\n            organization=row['org'],\n            relation_to_me=row['relation']\n        )"
      },
      {
        "title": "Best Practices",
        "body": "Consistent Naming: Use consistent naming conventions for relationship types\nRich Notes: Add contextual notes to remember important details\nRegular Updates: Keep information current with update commands\nCharacter Tracking: Use the character field to remember personality traits\nRelationship Descriptions: Add context to relationships for clarity\nSearch First: Before adding, search to avoid duplicates"
      },
      {
        "title": "API Reference",
        "body": "See people_skill.py for complete API documentation."
      },
      {
        "title": "Key Classes",
        "body": "PeopleDatabase: Low-level database operations\nPeopleAgent: High-level agent interface with result dictionaries"
      },
      {
        "title": "Return Format",
        "body": "All agent methods return dictionaries with:\n\nsuccess: Boolean indicating success/failure\nmessage: Human-readable status message (on errors)\nData fields specific to the operation"
      },
      {
        "title": "Error Handling",
        "body": "The skill includes comprehensive error handling:\n\nForeign key constraints prevent invalid relationships\nUnique constraints prevent duplicate relationships\nCascade deletion maintains referential integrity\nTry-catch blocks in CLI provide user-friendly errors"
      },
      {
        "title": "Performance",
        "body": "Indexed queries for fast lookups\nEfficient graph traversal\nSuitable for networks of thousands of people\nSQLite handles concurrent reads"
      },
      {
        "title": "Future Enhancements",
        "body": "Potential extensions:\n\nGraph visualization generation\nShortest path finding between people\nInfluence/centrality scoring\nDuplicate person detection\nExport to various formats (GraphML, DOT)\nImport from LinkedIn, contact lists\nTime-based relationship tracking\nStrength/confidence scoring for relationships"
      },
      {
        "title": "License",
        "body": "MIT"
      }
    ],
    "body": "People-Strategy Agent Skill\nOverview\n\nA people relationship management agent skill that provides persistent graph-based storage using SQLite database. This skill enables AI agents to create, manage, and query a network of people and their relationships, making it ideal for building personal CRMs, organizational charts, mentorship networks, and collaboration mapping.\n\nCapabilities\nPerson Management\nCreate People: Add new people with comprehensive information (name, role, relation, organization, character, notes)\nRead People: Retrieve individual people or search/filter across the database\nUpdate People: Modify any person's information\nDelete People: Remove people from the database (cascades to relationships)\nSearch: Full-text search across names, roles, and organizations\nFilter: Filter by organization or relation type\nRelationship Management\nCreate Edges: Establish directed relationships between people\nQuery Relationships: Get incoming, outgoing, or all relationships for a person\nUpdate Edges: Modify relationship types and descriptions\nDelete Edges: Remove specific relationships\nBidirectional Support: Track both directions of relationships\nGraph Operations\nFull Graph Export: Export entire network as JSON (nodes + edges)\nPerson Network: Get complete network view for an individual\nRelationship Types: Support for custom relationship types (reports_to, mentors, works_with, etc.)\nDatabase Schema\nTables\n\npeople\n\nid: INTEGER PRIMARY KEY\nname: TEXT NOT NULL\nrole: TEXT\nrelation_to_me: TEXT\norganization: TEXT\ncharacter: TEXT\nnotes: TEXT\ncreated_at: TIMESTAMP\nupdated_at: TIMESTAMP\n\nedges\n\nid: INTEGER PRIMARY KEY\nfrom_person_id: INTEGER (FK to people.id)\nto_person_id: INTEGER (FK to people.id)\nrelationship_type: TEXT NOT NULL\ndescription: TEXT\ncreated_at: TIMESTAMP\nupdated_at: TIMESTAMP\nUNIQUE constraint on (from_person_id, to_person_id, relationship_type)\nIndexes\nidx_people_name: Index on people.name\nidx_edges_from: Index on edges.from_person_id\nidx_edges_to: Index on edges.to_person_id\nUsage Examples\nCommand Line Interface\n# Person operations\npython people_skill.py add-person \"Jane Doe\" --role \"CTO\" --org \"StartupXYZ\" --relation \"Mentor\"\npython people_skill.py get-person 1\npython people_skill.py search \"engineer\"\npython people_skill.py list-people --org \"StartupXYZ\"\npython people_skill.py update-person 1 --notes \"Coffee meeting scheduled\"\npython people_skill.py delete-person 1\n\n# Relationship operations\npython people_skill.py add-relationship 1 2 \"mentors\" --description \"Tech career guidance\"\npython people_skill.py get-relationships 1\npython people_skill.py list-relationships\npython people_skill.py update-relationship 1 --type \"coaches\"\npython people_skill.py delete-relationship 1\n\n# Graph operations\npython people_skill.py get-graph\npython people_skill.py get-network 1\n\nPython API\nfrom database import PeopleDatabase\nfrom people_skill import PeopleAgent\n\n# Initialize\nagent = PeopleAgent(\"people.db\")\n\n# Add people\nresult = agent.add_person(\n    name=\"Alice Johnson\",\n    role=\"VP Engineering\",\n    relation_to_me=\"Former colleague\",\n    organization=\"TechCorp\",\n    character=\"Strategic thinker, empathetic leader\",\n    notes=\"Worked together 2020-2022\"\n)\nperson_id = result[\"person_id\"]\n\n# Add relationship\nagent.add_relationship(\n    from_person_id=1,\n    to_person_id=2,\n    relationship_type=\"manages\",\n    description=\"Direct manager relationship\"\n)\n\n# Query network\nnetwork = agent.get_person_network(person_id)\nprint(f\"Found {network['connections_count']} connections\")\n\n# Export graph\ngraph = agent.get_graph()\nprint(f\"Graph: {graph['nodes_count']} nodes, {graph['edges_count']} edges\")\n\nCommon Relationship Types\nreports_to: Hierarchical reporting (subordinate → manager)\nmanages: Hierarchical management (manager → subordinate)\nworks_with: Peer collaboration\nmentors: Mentorship (mentor → mentee)\nmentored_by: Inverse mentorship (mentee → mentor)\nfriends_with: Personal friendship\nknows: Acquaintance\ncollaborates_with: Project collaboration\nintroduced_by: Connection source\nUse Cases\n1. Personal CRM\n\nTrack professional contacts, their roles, organizations, and how you know them. Add notes about conversations, meetings, or follow-ups.\n\npython people_skill.py add-person \"Sarah Chen\" \\\n  --role \"Product Director\" \\\n  --org \"InnovateCo\" \\\n  --relation \"Met at conference\" \\\n  --notes \"Interested in API collaboration, follow up Q2\"\n\n2. Organizational Mapping\n\nBuild and maintain organizational charts with reporting relationships.\n\n# Add team members\npython people_skill.py add-person \"Mike Lead\" --role \"Team Lead\" --org \"Engineering\"\npython people_skill.py add-person \"Dev One\" --role \"Engineer\" --org \"Engineering\"\npython people_skill.py add-person \"Dev Two\" --role \"Engineer\" --org \"Engineering\"\n\n# Create reporting structure\npython people_skill.py add-relationship 2 1 \"reports_to\"\npython people_skill.py add-relationship 3 1 \"reports_to\"\n\n3. Mentorship Network\n\nTrack mentorship relationships and career guidance connections.\n\npython people_skill.py add-relationship 5 3 \"mentors\" \\\n  --description \"Career guidance in ML/AI\"\n\n4. Collaboration Tracking\n\nMap who works with whom on projects.\n\npython people_skill.py add-relationship 1 2 \"works_with\" \\\n  --description \"Project Phoenix collaboration\"\n\n5. Network Analysis\n\nAnalyze your professional network to identify key connections.\n\n# View someone's complete network\npython people_skill.py get-network 1\n\n# Export for visualization\npython people_skill.py get-graph > network.json\n\nAdvanced Features\nBidirectional Relationship Queries\n\nThe system automatically handles both directions:\n\n# Get all relationships for a person\nedges = db.get_all_edges_for_person(person_id)\n# Returns: {\"outgoing\": [...], \"incoming\": [...]}\n\nCascade Deletion\n\nDeleting a person automatically removes all associated relationships.\n\nDuplicate Prevention\n\nThe UNIQUE constraint prevents duplicate relationships between the same two people with the same type.\n\nSearch Flexibility\n\nSearch works across multiple fields:\n\npython people_skill.py search \"engineer\"\n# Matches: names, roles, organizations\n\nIntegration Examples\nExport to Visualization Tools\n# Export graph for tools like D3.js, Cytoscape, Gephi\npython people_skill.py get-graph > graph.json\n\nImport from CSV\nimport csv\nfrom people_skill import PeopleAgent\n\nagent = PeopleAgent()\nwith open('contacts.csv', 'r') as f:\n    reader = csv.DictReader(f)\n    for row in reader:\n        agent.add_person(\n            name=row['name'],\n            role=row['role'],\n            organization=row['org'],\n            relation_to_me=row['relation']\n        )\n\nBest Practices\nConsistent Naming: Use consistent naming conventions for relationship types\nRich Notes: Add contextual notes to remember important details\nRegular Updates: Keep information current with update commands\nCharacter Tracking: Use the character field to remember personality traits\nRelationship Descriptions: Add context to relationships for clarity\nSearch First: Before adding, search to avoid duplicates\nAPI Reference\n\nSee people_skill.py for complete API documentation.\n\nKey Classes\nPeopleDatabase: Low-level database operations\nPeopleAgent: High-level agent interface with result dictionaries\nReturn Format\n\nAll agent methods return dictionaries with:\n\nsuccess: Boolean indicating success/failure\nmessage: Human-readable status message (on errors)\nData fields specific to the operation\nError Handling\n\nThe skill includes comprehensive error handling:\n\nForeign key constraints prevent invalid relationships\nUnique constraints prevent duplicate relationships\nCascade deletion maintains referential integrity\nTry-catch blocks in CLI provide user-friendly errors\nPerformance\nIndexed queries for fast lookups\nEfficient graph traversal\nSuitable for networks of thousands of people\nSQLite handles concurrent reads\nFuture Enhancements\n\nPotential extensions:\n\nGraph visualization generation\nShortest path finding between people\nInfluence/centrality scoring\nDuplicate person detection\nExport to various formats (GraphML, DOT)\nImport from LinkedIn, contact lists\nTime-based relationship tracking\nStrength/confidence scoring for relationships\nLicense\n\nMIT"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/makkzone/people-strategy",
    "publisherUrl": "https://clawhub.ai/makkzone/people-strategy",
    "owner": "makkzone",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/people-strategy",
    "downloadUrl": "https://openagent3.xyz/downloads/people-strategy",
    "agentUrl": "https://openagent3.xyz/skills/people-strategy/agent",
    "manifestUrl": "https://openagent3.xyz/skills/people-strategy/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/people-strategy/agent.md"
  }
}