用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/warpdotdev/competitive-intelligence-agent-oss --skill summarize-google-docs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | summarize_google_docs |
| description | Reads internal documents and creates a summary. |
Use the provided python script to read recent google docs from the last 7 days and summarize the output. the required credentials are stored as an environment variable.
Don't mention upcoming milestones or DRI's.
Make note of important themes across the documents. if there are potential conflicts, also make note of that.
reports/google_doc_summaries/google_doc_summary_YYYY-MM-DD.md, then create a PR.
Here are instructions for using the google docs python scripts:A Python service that connects to the Google Docs API and retrieves documents modified in the last week.
Install dependencies:
pip install -r requirements.txt
Run the service:
python google_docs_service.py
The credential to run the service can be found in the environment variable GOOGLE_OAUTH_TOKEN
from google_docs_service import GoogleDocsService
# Initialize service
service = GoogleDocsService()
# Get documents from last 7 days
recent_docs = service.get_recent_documents(days=7)
for doc in recent_docs:
print(f"Document: {doc['name']}")
print(f"Link: {doc['webViewLink']}")
# Get full document content
document_content = service.get_document_content(document_id)
# Extract plain text
text = service.extract_text_from_document(document_content)
print(text)
# Get documents from last 30 days
recent_docs = service.get_recent_documents(days=30)
google_docs_service.py - Main service implementationrequirements.txt - Python dependenciesThe service requests the following scopes:
drive.readonly - Read-only access to Drive filesdocuments.readonly - Read-only access to Google DocsSets up the competitive-intelligence-agent from scratch — clones the repo (or works from an existing clone), installs dependencies, configures .env credentials, authenticates GitHub and Google, and replaces codebase placeholders with the user's real values. Use when asked to "set up this agent", "run the setup skill", "deploy this agent", "configure this repo", or when a user has just cloned the repo and wants it working.
analyzes customer feedback across Email, GitHub, NPS, and churn cancellations.
Analyzes git history from a repository to summarize recent development activity, features in progress, and engineering priorities. Use when asked about what the team is working on, recent code changes, development velocity, or to prepare for planning/roadmap discussions.
基于 SOC 职业分类