company-product-context
БесплатноЗапускает вложенные скриптыНе проверенCompiles comprehensive company product context from PDF documents, web research, and industry knowledge
от lofcz★ 656 звёзд на GitHubОб этом скилле
Company Product Context Compiler
This skill extracts information from company PDF documents, conducts web research, and synthesizes industry knowledge to create a comprehensive company product context report.
Copy this checklist and track your progress:
Company Product Context Progress:
- [ ] Step 1: Gather company materials and identify sources
- [ ] Step 2: Extract information from PDF documents
- [ ] Step 3: Structure extracted data
- [ ] Step 4: Conduct web research and validation
- [ ] Step 5: Synthesize industry knowledge
- [ ] Step 6: Compile comprehensive product context
- [ ] Step 7: Generate final report
- [ ] Step 8: Export deliverables
Step 1: Gather company materials and identify sources
Collect all available company information:
Required Inputs:
- Company PDF documents (annual reports, product sheets, presentations, etc.)
- Company name and website URL
- Industry/sector information
- Specific products or services to focus on (if applicable)
Actions:
- Request all relevant PDF files from user
- Confirm company name, website, and primary industry
- Ask about specific focus areas or products of interest
- Identify any competitive context needed
Expected in INPUT_DIR:
*.pdf- Company documentscompany_info.txt- Basic company details (optional)
Step 2: Extract information from PDF documents
Extract structured information from all provided PDF files.
Use the Python script for PDF extraction:
import os
import re
from pathlib import Path
import PyPDF2
import json
def extract_pdf_content(pdf_path):
"""Extract text content from PDF file."""
text_content = []
metadata = {}
try:
with open(pdf_path, 'rb') as file:
pdf_reader = PyPDF2.PdfReader(file)
# Extract metadata
if pdf_reader.metadata:
metadata = {
'title': pdf_reader.metadata.get('/Title', ''),
'author': pdf_reader.metadata.get('/Author', ''),
'subject': pdf_reader.metadata.get('/Subject', ''),
'pages': len(pdf_reader.pages)
}
else:
metadata = {'pages': len(pdf_reader.pages)}
# Extract text from all pages
for page_num, page in enumerate(pdf_reader.pages, 1):
try:
text = page.extract_text()
if text.strip():
text_content.append({
'page': page_num,
'text': text
})
except Exception as e:
print(f"Error extracting page {page_num}: {e}")
except Exception as e:
print(f"Error reading PDF {pdf_path}: {e}")
return None
return {
'filename': os.path.basename(pdf_path),
'metadata': metadata,
'content': text_content
}
def extract_key_sections(text):
"""Extract key sections from text based on common headers."""
sections = {
'company_overview': [],
'products_services': [],
'business_model': [],
'market_position': [],
'financials': [],
'technology': [],
'customers': [],
'strategy': [],
'other': []
}
# Keywords for section identification
keywords = {
'company_overview': ['about us', 'company overview', 'who we are', 'introduction', 'history'],
'products_services': ['products', 'services', 'solutions', 'offerings', 'portfolio'],
'business_model': ['business model', 'revenue model', 'how we work', 'operations'],
'market_position': ['market', 'industry', 'competitive', 'position', 'landscape'],
'financials': ['financial', 'revenue', 'earnings', 'profit', 'growth'],
'technology': ['technology', 'platform', 'infrastructure', 'technical', 'innovation'],
'customers': ['customers', 'clients', 'partners', 'case study', 'testimonial'],
'strategy': ['strategy', 'vision', 'mission', 'goals', 'objectives', 'roadmap']
}
lines = text.split('\n')
current_section = 'other'
for line in lines:
line_lower = line.lower().strip()
# Check if line is a section header
for section, section_keywords in keywords.items():
if any(keyword in line_lower for keyword in section_keywords):
if len(line_lower) < 100: # Likely a header
current_section = section
break
if line.strip():
sections[current_section].append(line)
return sections
def analyze_company_info(extracted_data):
"""Analyze extracted data for key company information."""
analysis = {
'company_name': '',
'industry': '',
'products': [],
'key_terms': [],
'metrics': [],
'u
Установить company-product-context в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл company-product-context?
Compiles comprehensive company product context from PDF documents, web research, and industry knowledge
Как установить скилл company-product-context?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл company-product-context запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic