一键导入
esa
Search and retrieve information from esa.io team using the esa-cli tool. Use this skill to find posts, get team information, or search by category/tag in esa.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search and retrieve information from esa.io team using the esa-cli tool. Use this skill to find posts, get team information, or search by category/tag in esa.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | esa |
| description | Search and retrieve information from esa.io team using the esa-cli tool. Use this skill to find posts, get team information, or search by category/tag in esa. |
This skill enables you to search and retrieve information from esa.io team using the esa-cli command-line tool.
Before using this skill, ensure:
ESA_TEAM environment variable is set with your esa team nameESA_ACCESS_TOKEN environment variable is set with a valid esa access tokenesa-cli binary is available in PATH or installed locallyRetrieve information about your esa team:
esa-cli team
Example Output:
================================================================================
Team Information
================================================================================
Name: your-team
Privacy: closed
Description: Team description here
URL: https://your-team.esa.io
================================================================================
Search for posts containing specific keywords across your team:
esa-cli search "<query>"
Options:
--page=N: Page number (default: 1)--per-page=N: Number of results per page (default: 20, max: 100)--sort=ORDER: Sort order - updated (default), created, stars, watches, comments, best_matchQuery Filters:
category:<name>: Filter by category (e.g., category:dev/api)tag:<name>: Filter by tag (e.g., tag:important)user:<name>: Filter by user (e.g., user:username)kind:<type>: Filter by kind - stock or flowExamples:
# Basic search
esa-cli search "API documentation"
# Search by category
esa-cli search "category:dev/api"
# Search by tag
esa-cli search "tag:important"
# Combined filters
esa-cli search "category:dev/api tag:important"
# Search with pagination and sort
esa-cli search "database" --page=2 --per-page=50 --sort=stars
# Search by user
esa-cli search "user:john.doe"
# Search by kind
esa-cli search "kind:stock"
Retrieve a specific post by its number:
esa-cli get <post-number>
Example:
# Get post #123
esa-cli get 123
Output includes:
Retrieve all posts in a specific category:
esa-cli category "<category-name>"
Options:
--page=N: Page number--per-page=N: Results per page--sort=ORDER: Sort orderExamples:
# Get posts in "dev/api" category
esa-cli category "dev/api"
# With pagination
esa-cli category "docs" --page=2 --per-page=30
# Sort by creation date
esa-cli category "team/meeting" --sort=created
Retrieve all posts with a specific tag:
esa-cli tag "<tag-name>"
Options:
--page=N: Page number--per-page=N: Results per page--sort=ORDER: Sort orderExamples:
# Get posts tagged "important"
esa-cli tag "important"
# With pagination and sort
esa-cli tag "release" --page=1 --per-page=50 --sort=stars
Found N posts:
================================================================================
[1] #123 Post Title
Full Name: Category/Subcategory/Post Title
Updated: 2024-01-15T10:30:00
URL: https://your-team.esa.io/posts/123
Category: Category/Subcategory
Tags: tag1, tag2, tag3
[2] #124 Another Post
...
================================================================================
Page 1 (Total: 50 posts, 20 per page)
================================================================================
Post #123: Post Title
================================================================================
Full Name: Category/Subcategory/Post Title
Category: Category/Subcategory
Tags: tag1, tag2, tag3
Created: 2024-01-01T09:00:00
Updated: 2024-01-15T10:30:00
URL: https://your-team.esa.io/posts/123
--- Body (Markdown) ---
# Post Content
Your markdown content here...
================================================================================
Use this skill when you need to:
--per-page if you need more results at once--sort=best_match for keyword relevance, --sort=updated for recencyFinding API Documentation:
esa-cli search "API" --sort=best_match
esa-cli category "dev/api"
Checking Recent Updates:
esa-cli search "category:team/meeting" --sort=updated --per-page=10
Getting Team Guidelines:
esa-cli category "team/guidelines"
Finding Important Announcements:
esa-cli tag "important"
esa-cli tag "announcement"
Reading Specific Post:
# First, search to find the post number
esa-cli search "onboarding guide"
# Then, get the full content
esa-cli get 456
Investigating Topics:
# Search broadly
esa-cli search "database migration"
# Check specific category
esa-cli category "dev/database"
# Check related tags
esa-cli tag "migration"
Browsing Popular Posts:
esa-cli search "*" --sort=stars --per-page=20
"ESA_TEAM environment variable is not set"
export ESA_TEAM=your-team-name"ESA_ACCESS_TOKEN environment variable is not set"
export ESA_ACCESS_TOKEN=your-tokenhttps://[your-team].esa.io/user/applications"esa API HTTP Error"
"No posts found"
Post not found (when using get)
https://[your-team].esa.io/user/applicationsread - Read posts and team informationexport ESA_ACCESS_TOKEN=your-token-here
Add to your shell configuration file (.bashrc, .zshrc, etc.):
export ESA_TEAM=your-team-name
export ESA_ACCESS_TOKEN=your-access-token
Or use direnv with .envrc:
export ESA_TEAM=your-team-name
export ESA_ACCESS_TOKEN=your-access-token
--sort=best_match when keyword matching is crucial--sort=updated or --sort=created for chronological browsingThis skill works well in combination with other tasks:
# Step 1: Broad search to understand scope
esa-cli search "authentication"
# Step 2: Check specific category
esa-cli category "dev/security"
# Step 3: Look for related tags
esa-cli tag "auth"
# Step 4: Get full content of relevant posts
esa-cli get 123
esa-cli get 456
# Step 5: Check for recent updates
esa-cli search "category:dev/security" --sort=updated --per-page=5