Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

agent-flight-recorderAgent 飞行记录器

Agent Skill

agent-flight-recorder 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

272

周安装

11

GitHub Stars

公开资料未说明

下载量

85
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-flight-recorder(Agent 飞行记录器)
来源仓库:https://github.com/aivokone/ak-skills-core
仓库路径:skills/agent-flight-recorder
安装命令:
npx skills add https://github.com/aivokone/ak-skills-core --skill agent-flight-recorder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aivokone/ak-skills-core --skill agent-flight-recorder

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态和变更进行整理。

  • 适用于任务执行过程记录和异常日志追踪,提供黑盒飞行记录功能。
  • 通过 npx skills add 命令从 GitHub 安装,需确认权限范围和是否触发文件读写。
  • 建议在安装前检查维护状态和命令执行边界,避免越权操作。
  • agent-flight-recorder 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Agent Flight Recorder

Purpose

Keep a black-box flight recorder. Whenever you deviate from the straight path during a task (retry, workaround, unexpected setup, missing context, quality rework, blocker), create a concise log entry.

You are the recorder, not the analyst.

Activation

Always active. You do not need to be asked.

  • Record silently. Do not mention logging mid-task.
  • Logging must not slow you down or change your approach.
  • At task end (or abort), if entries exist, add exactly one line to your final response: Flight recorder: N entries logged. See <path>.
  • If zero entries, say nothing.

Project-level visibility (optional)

If a project wants explicit policy text, add a short note to that project's agent instruction file (for example AGENTS.md or CLAUDE.md) stating that agent-flight-recorder is always-on for multi-step work and that only deviations are logged.

Run log file (one run per file)

Create a new file per run:

<project-root>/.agents/flight-recorder/flight-YYYY-MM-DD-HHMMSS-TZ.md

  • Use local time if known, otherwise UTC and write UTC as TZ.
  • If a name collision occurs, append -1, -2,... until unique.
  • Do not edit old run files.
  • Within the current run file, entries are append-only.
  • If the directory does not exist, create it.

Repository hygiene default:

  • In git repositories, ignore recorder output by default with /.agents/flight-recorder/ in .gitignore.
  • Opt out only if the project intentionally versions recorder logs, and document that decision in project instructions.

When creating a new run file, write this header once:

schema: flight-recorder/v2.5
run_started: 2026-02-11T09:10:00Z
task: "Implement auth middleware"   # optional, one-liner describing the task
recorder_agent: claude-code         # agent product or CLI name
recorder_model: claude-opus-4-6     # exact model ID as reported by runtime
recorder_effort: high                        # optional, omit if runtime does not expose

Header rules:

  • recorder_agent: the agent product or CLI that is running (e.g. claude-code, codex-cli, chatgpt, cursor, aider). Use the canonical short name, not a marketing name. Use unknown only if not determinable.
  • recorder_model: the exact model identifier as reported by the runtime (e.g. claude-opus-4-6, gpt-4o-2025-06-01, o3). Prefer the full model ID over a friendly name. Use unknown only if not exposed.
  • recorder_effort is optional. If the runtime exposes a reasoning effort or compute budget setting, report its value verbatim. Omit the field entirely if the runtime has no such concept.
  • task is optional. If set, use one short sentence describing the user-facing goal of the run. Omit if the task is unclear at run start.

Fallback

If file write is impossible, include the full log inline at the end of your final response under:

## Flight recorder log (inline)

Also state in one sentence that file write failed.

Run footer

When the run ends (task completion or abort), append a footer block after the last entry:

run_ended: 2026-02-11T09:45:00Z
entries: 4
high_severity: 1
outcome: completed | aborted | interrupted

Footer rules:

  • Write the footer in the same final flush that writes any remaining entries.
  • outcome is completed when the task finishes normally, aborted when the agent gives up, and interrupted when the session ends unexpectedly (best effort).
  • If there are zero entries, do not create a run file and therefore no footer.

Write strategy (batch by default)

Default: keep entries in memory and write/append to file only:

  1. at task end or abort,
  2. immediately before asking the user a blocking clarification question,
  3. immediately before a major context switch where you might lose state,
  4. immediately after creating a high severity entry.

When you flush, append all accumulated entries in one write.

When to write an entry (only deviations)

Write an entry when any of the following occurs and it is a deviation from the expected path:

triggerdefault severitymeaning
detourmediumYou changed approach because the expected path failed.
setupmediumUnexpected install/config required.
retrymediumYou repeated a step due to failure or ambiguity.
missing-contextlowYou had to ask for info that should have been in initial context, or needed a blocking clarification.
qualityhighOutput required rework to meet expected standard.
slow-stephighA single step was unusually slow (ordinal estimate).
assumptionlowYou proceeded on an assumption that could be wrong.
blockerhighYou could not proceed without external action.

Notes:

  • Do not log normal expected steps.
  • missing-context is not normal interaction. Log it only when it blocks progress or reveals missing initial inputs.
  • Override severity if warranted.
  • One real-world incident maps to one entry. Do not duplicate the same incident in another entry.

Entry format

Each entry is a fenced YAML block for reliable parsing. Keep it concise. IDs are assigned per run as e1, e2, e3, in the order you flush them.

why must be one short sentence (max 15 words).

Time field:

  • Every entry must include at in ISO-8601 with timezone, for example 2026-02-12T14:17:09+02:00 or 2026-02-12T12:17:09Z.
  • at should represent when the deviation happened (best known time), not when the buffered entries were flushed to disk.
  • If exact second is unknown, estimate reasonably and keep ordering consistent.

Formatting invariants:

  • Every entry must be exactly one fenced block: start with ```yaml and end with ``` on its own line.
  • Never emit free-form yaml label lines or partial/unfenced YAML content.
  • A formatting correction is not a new incident. Do not use repeat_of for markup repair of the same occurrence.
  • Quote free-text values when they contain YAML-significant characters (especially :, #, or backticks), using double quotes.
  • This applies especially to signal, stuck, and workaround because they often contain shell error text.

Standard YAML entry

id: e1
at: 2026-02-12T12:17:09Z
severity: high | medium | low
trigger: detour | setup | retry | missing-context | quality | slow-step | assumption | blocker
situation: One sentence. What you were trying to do.
stuck: One sentence. Where exactly it got stuck.
why: One short sentence. Best hypothesis.
workaround: What you did to get past it (or attempted).
resolved: true | false | partial

# Cost signal (do NOT invent minutes unless measured)
waste: low | medium | high
waste_min: 10            # optional, only if measured or explicitly provided
time_basis: timestamped | command_duration | explicit_user | other  # required if waste_min present
retries: 2               # optional integer

# Optional routing/context
scope: env | build | deploy | web | parsing | auth | data | test | config | deps | perf | other
file: path/to/relevant/file
repeat_of: e3
signal: A short symptom or error signature to recognize early
# If value contains `: `, `#`, or backticks, quote it:
# signal: "zsh: command not found: yaml"

Compact YAML entry (low severity only)

Use this for low-severity entries to keep logging cheap. Do not use compact format for medium or high severity entries; always use the standard format for those.

id: e4
at: 2026-02-12T12:23:44Z
severity: low
trigger: assumption | missing-context
situation: One sentence.
stuck: One sentence.
why: One short sentence. Best hypothesis.
resolved: true | false | partial
waste: low | medium | high
signal: Optional short symptom.

Rules

  • Recorder-only: do not include analysis, developer guidance, or improvement suggestions.
  • Do not include secrets, tokens, raw user data, or PII. Summarize and anonymize.
  • Prefer writing the entry after the deviation is resolved, so resolved and retries are accurate.
  • Do not edit earlier entries. If something repeats, create a new entry with repeat_of.
  • Use repeat_of only when the same signature happens again later in the run, not for a duplicate of the same occurrence.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.15%
按下载量换算32

Claude

29.07%
按下载量换算25

Cursor

18.76%
按下载量换算16

Gemini CLI

10.37%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/aivokone/ak-skills-core --skill agent-flight-recorder 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills