field-agent-status
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "field-agent-status":https://skillpi.com/zh/skills/deepskill-910ef82fea8f71e6980dc953a938d7ea30e648446e894a3725b39ca4f404316f。安装前核对上游来源和版本:https://skillhub.cn/skills/yahuixun/field-agent-status。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
从 field-agent-ai 后端查询已注册的飞书 field-agent 账号状态和工作进展。用于当 Agent 需要核实该飞书用户是否为批准成员、查看外勤人员任务进度、总结近期外勤记录或回答诸如“该代理在做什么”“此人是否完成拜访”“哪些外勤记录需要复核”等问题时使用。
介绍来源: third_party · yahuixun · 0.1.4 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: field-agent-status
description: Query registered Feishu field-agent account status and work progress from the field-agent-ai backend. Use when an Agent needs to check whether a Feishu user is an approved member, inspect a field person's task progress, summarize recent field records, or answer questions like "what is this agent working on", "has this person finished their visits", or "which field records need review".Field Agent Status
Overview
Use this skill to query the field-agent-ai backend for registered field members and their work progress. The backend treats Feishu Bot registration as the account entry point: a user sends /register name or 注册 name, an admin approves the member, then Agent status queries can read that member's progress.
Required Runtime Settings
The query script can read runtime settings from environment variables:
FIELD_AGENT_API_BASE_URL=https://test-waiqin.cloudplus.im
AGENT_API_TOKEN=your_agent_api_token
FIELD_AGENT_USER_AGENT=Mozilla/5.0 (compatible; FieldAgentStatusSkill/0.1.4; +https://test-waiqin.cloudplus.im)
In production, create a Skill Operator in the Web admin page and use the generated token as AGENT_API_TOKEN. New or reset tokens are shown only once; copy the token immediately because the admin list only shows the token prefix later.
To persist the Agent-side token across Skill upgrades, save it to the user-level config file:
python skills/field-agent-status/scripts/query_status.py --configure
Non-interactive setup:
python skills/field-agent-status/scripts/query_status.py --save-config --base-url https://test-waiqin.cloudplus.im --token your_agent_api_token
The config is saved outside the Skill directory:
~/.field-agent-ai/skill-config.json
Skill upgrades replace the package files but do not overwrite this user-level config. Environment variables still take precedence when set.
The packaged skill defaults to:
https://test-waiqin.cloudplus.im
Use FIELD_AGENT_API_BASE_URL only when overriding the deployment domain, such as local development or a staging migration.
Use FIELD_AGENT_USER_AGENT only when an edge firewall requires a specific allowed User-Agent for the /agent/* API path.
For local development:
FIELD_AGENT_API_BASE_URL=http://127.0.0.1:8000
If neither the server-wide AGENT_API_TOKEN nor any active Skill Operator exists, the API allows unauthenticated dev access. In production, create at least one active Skill Operator or set the server-wide token.
Query Progress
Prefer the bundled script:
python skills/field-agent-status/scripts/query_status.py <feishu_open_id>
Optional record limit:
python skills/field-agent-status/scripts/query_status.py <feishu_open_id> --limit 10
Show the persistent config path:
python skills/field-agent-status/scripts/query_status.py --config-path
The script calls:
GET /agent/members/{feishu_open_id}/status
It returns:
- member account status
- total field records
- result status counts
- review status counts
- latest field records
Interpret Results
member.status = active: the person is approved and valid.member.status = pending: the person registered through Feishu but still needs web/admin approval.member.status = rejected: the person cannot submit valid field records.total_records = 0: no accepted field records have been submitted yet.review_status_counts.need_revieworlow_confidence: mention that human review is needed.- Latest records are ordered newest first and include customer, task type, result, next action, and review status.
Registration Workflow
Feishu user command:
/register Zhang San
注册 张三
Admin approval endpoint:
POST /admin/members/{member_id}/approve
Admin rejection endpoint:
POST /admin/members/{member_id}/reject
Response Style
When answering a human, summarize in operational terms:
- whether the person is a valid approved member
- how many records they have submitted
- what the latest task/result/next action is
- whether any records need review
Avoid exposing raw tokens or internal headers.
当前收录版本
0.1.4
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决企业外勤人员管理的核心业务痛点
- 提供成员资格验证、任务进度跟踪、记录汇总等高价值功能
- 适用于高频刚需场景,显著提升管理效率
亮点
- 触发描述清晰完整,覆盖多种典型使用场景
- 边界定义明确,不易与其他 Skill 混淆
- 包含具体问题示例,便于用户理解适用场景
待提升项
-
缺少显式 When to Use 章节 原报告严重程度:轻微
文档结构完整但未设置显式的 When to Use 章节
改进建议:建议在 Overview 后增加 When to Use 章节,更清晰地说明适用场景
亮点
- 文档结构清晰,章节划分合理
- 包含完整的配置说明和端到端示例
- frontmatter 完整,符合规范要求
待提升项
-
API 错误处理机制说明不足 原报告严重程度:轻微
未详细说明网络异常、API 错误码等具体异常处理机制
改进建议:建议补充 API 调用失败、网络异常、认证失败等场景的处理说明
亮点
- 工具来源明确,参数说明完整
- 覆盖了环境变量配置、持久化配置等关键设置
- 提供了本地开发和生产环境的配置指导
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- 127.0.0.1
- test-waiqin.cloudplus.im
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。