field-agent-status

Query registered Feishu field-agent account status and work progress from the field-agent-ai backend. Use when an Agent needs to verify 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.”

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "field-agent-status" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-910ef82fea8f71e6980dc953a938d7ea30e648446e894a3725b39ca4f404316f. Verify the upstream source and version against https://skillhub.cn/skills/yahuixun/field-agent-status before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Query registered Feishu field-agent account status and work progress from the field-agent-ai backend. Use when an Agent needs to verify 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.”

0 Downloads

Introduction source: third_party · yahuixun · 0.1.4 Reference

SkillPi interpretation

Tasks
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".
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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_review or low_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.

Current listing version

0.1.4

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决企业外勤人员管理的核心业务痛点
  • 提供成员资格验证、任务进度跟踪、记录汇总等高价值功能
  • 适用于高频刚需场景,显著提升管理效率
Trigger Precision95/100

Highlights

  • 触发描述清晰完整,覆盖多种典型使用场景
  • 边界定义明确,不易与其他 Skill 混淆
  • 包含具体问题示例,便于用户理解适用场景
Structure and Standards93/100

Areas to improve

  • 缺少显式 When to Use 章节 Reported severity: Minor

    文档结构完整但未设置显式的 When to Use 章节

    Recommendation: 建议在 Overview 后增加 When to Use 章节,更清晰地说明适用场景

Highlights

  • 文档结构清晰,章节划分合理
  • 包含完整的配置说明和端到端示例
  • frontmatter 完整,符合规范要求
Execution Reliability78/100

Areas to improve

  • API 错误处理机制说明不足 Reported severity: Minor

    未详细说明网络异常、API 错误码等具体异常处理机制

    Recommendation: 建议补充 API 调用失败、网络异常、认证失败等场景的处理说明

Highlights

  • 工具来源明确,参数说明完整
  • 覆盖了环境变量配置、持久化配置等关键设置
  • 提供了本地开发和生产环境的配置指导
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • 127.0.0.1
  • test-waiqin.cloudplus.im

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.