Agent 技能验证
- 作者仓库星标 2,528
- 作者仓库 agent-academy
Agent Academy Stargazers
This skill fetches the list of users who have starred the microsoft/agent-academy repository on GitHub. If the user provides a GitHub username, it also checks whether that specific user has starred the repo.
🏁 Prerequisites
Before running, verify the gh CLI is installed and authenticated:
- Run
gh --versionto confirm it is installed. If not, install it (e.g.,brew install ghon macOS, or the appropriate package manager for the user's OS). - Run
gh auth statusto confirm it is authenticated. If not, rungh auth loginand guide the user through the interactive authentication flow.
Do not proceed with the rest of the skill until both checks pass.
🛠️ Skill Flow
- Verify the
ghCLI is installed and authenticated (see Prerequisites above). - Fetch the full list of stargazers for the
microsoft/agent-academyrepository usinggh apiwith the--paginateflag to automatically retrieve all pages (the API returns at most 100 results per page, so pagination is required for repos with more than 100 stargazers). Use--jqto select only thelogin,type, andurlfields from each stargazer object. - Save the filtered list to
temp/stargazers.jsonin the repository root. - Tell the user how many stargazers were found and that the list was saved to
temp/stargazers.json. - If the user provided a GitHub username, check whether that username appears in the stargazer list and tell the user the result (e.g., "✅ @username has starred the repo" or "❌ @username has not starred the repo").
📜 Rules
- Always use
gh api --paginateto fetch stargazers formicrosoft/agent-academy, ensuring all pages are retrieved (useper_page=100for efficiency). - Always use
--jq '[.[] | {login, type, url}]'to limit the response to only thelogin,type, andurlfields. Do not store any other fields. - Always save the result to
temp/stargazers.jsonrelative to the repository root, creating thetempdirectory if it does not exist. - Always fetch fresh data from GitHub — never rely on previously fetched results or conversation history.
- If the
ghCLI is not installed, install it using the appropriate package manager for the user's OS (e.g.,brew install ghon macOS) before proceeding. - If the
ghCLI is not authenticated, rungh auth loginand guide the user through authentication before proceeding. - If the API request fails (e.g., network error, repo not found), report the error clearly to the user and do not write a partial or empty file.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @microsoft · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Before running, verify the gh CLI is installed and authenticated: Run gh --version to confirm it is installed. If not, install it (e.g., brew install gh on macOS, or the appropriate package manager for the user's OS). Run gh auth status to confirm it is…
Verify the gh CLI is installed and authenticated (see Prerequisites above). Fetch the full list of stargazers for the microsoft/agent-academy repository using gh api with the --paginate flag to automatically retrieve all pages (the API returns at most 100…
Always use gh api --paginate to fetch stargazers for microsoft/agent-academy, ensuring all pages are retrieved (use perpage=100 for efficiency). Always use --jq '[.[] | {login, type, url}]' to limit the response to only the login, type, and url fields. Do not…
# Agent Academy Stargazers
This skill fetches the list of users who have starred the `microsoft/agent-academy` repository on GitHub. If the user provides a GitHub username, it also checks whether that specific user has starred the repo.
## 🏁 Prerequisites
Before running, verify the `gh` CLI is installed and authenticated:
1. Run `gh --version` to confirm it is installed. If not, install it (e.g., `brew install gh` on macOS, or the appropriate package manager for the user's OS).
2. Run `gh auth status` to confirm it is authenticated. If not, run `gh auth login` and guide the user through the interactive authentication flow.
Do not proceed with the rest of the skill until both checks pass.
## 🛠️ Skill Flow
1. Verify the `gh` CLI is installed and authenticated (see Prerequisites above).
2. Fetch the full list of stargazers for the `microsoft/agent-academy` repository using `gh api` with the `--paginate` flag to automatically retrieve all pages (the API returns at most 100 results per page, so pagination is required for repos with more than 100 stargazers). Use `--jq` to select only the `login`, `type`, and `url` fields from each stargazer object.
3. Save the filtered list to `temp/stargazers.json` in the repository root.
4. Tell the user how many stargazers were found and that the list was saved to `temp/stargazers.json`.
5. If the user provided a GitHub username, check whether that username appears in the stargazer list and tell the user the result (e.g., "✅ @username has starred the repo" or "❌ @username has not starred the repo").
## 📜 Rules
- Always use `gh api --paginate` to fetch stargazers for `microsoft/agent-academy`, ensuring all pages are retrieved (use `per_page=100` for efficiency).
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> 🏁 Prerequisites → 🛠️ Skill Flow → 📜 Rules
要点 -> This skill fetches the list of users who have starred the microsoft/agent-academy repository on GitHub. · 1. Run gh --version to confirm it is installed. · Do not proceed with the rest of the skill until both checks pass. · 1. Verify the gh CLI is installed and authenticated (see Prerequisites above).
文件/命令 -> microsoft/agent-academy · gh --version · brew install gh · gh auth status · gh auth login · gh api · --paginate · --jq
内容 SHA-256 -> 8096587ae20d
原文结构
适用与边界
原文中的明确线索
microsoft/agent-academy、gh --version、brew install gh、gh auth status、gh auth login、gh api、--paginate、--jq