agentsclimarketplace

Enterprise data retrieval

Skill cxcscmu/SkillLearnBench/skills/b1-one-shot-claude-sonnet-4-6/enterprise-information-search/enterprise-data-retrieval

Techniques for retrieving and querying structured enterprise data from JSON files containing slack messages, documents, meeting transcripts, and URLs.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill enterprise-data-retrieval

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.1 KB, 493 tokens by cl100k_base, as published. Nobody here has run it

Enterprise Data Retrieval

Data Structure

Enterprise data is typically organized by product in /root/DATA/products/<ProductName>.json with the following top-level keys:

  • slack: list of slack messages with Channel, Message, ThreadReplies, id
  • documents: list of docs with content, date, document_link, author, type, id
  • meeting_transcripts: list of transcripts with transcript, date, document_type, participants, id
  • meeting_chats: list of chat messages
  • urls: list of URLs with link, description, id
  • prs: list of PRs with title, summary, link, mergeable, merged, number, state, user, created_at, reviews, id

Finding Documents by Type

import json

with open('/root/DATA/products/ContentForce.json') as f:
    data = json.load(f)

# Find documents by type (e.g., "Market Research Report")
docs = [d for d in data['documents'] if 'market research' in d['type'].lower() or 'market research' in d['content'].lower()]

Finding Authors and Reviewers

# Documents have an 'author' field; PRs have 'user' and 'reviews'
for doc in docs:
    print(doc['author'])  # author employee ID or name

# For PRs
for pr in data['prs']:
    print(pr['user'])  # PR author
    for review in pr['reviews']:
        print(review)  # reviewer info

Searching Slack for Keywords

keyword = 'competitor'
results = []
for msg in data['slack']:
    if keyword.lower() in msg['Message'].lower():
        results.append(msg)
    for reply in msg.get('ThreadReplies', []):
        if keyword.lower() in reply.lower():
            results.append({'parent': msg, 'reply': reply})

Metadata Files

  • /root/DATA/metadata/employee.json: employee records mapping IDs to names
  • /root/DATA/metadata/customers_data.json: customer records
  • /root/DATA/metadata/salesforce_team.json: sales team info

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.