AGENT SKILL

Codex 安全发现收集

codex-findings

将 Codex Cloud 的安全发现收集到目标数据包中。当用户要求收集发现、拉取安全发现、初始化 Codex 安全发现数据包,或整改最新的 Codex Cloud 安全批次时使用。涵盖登录态 CSV 导出、`beep codex findings ingest` 和合并后闭环。

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 80
Forks
14

01 前言 Front Matter

name
codex-findings
description
Capture Codex Cloud security findings into a goal packet. Use when asked to capture findings, pull the security findings, bootstrap a Codex security findings packet, or remediate the latest Codex Cloud security batch. Covers the signed-in CSV export, `beep codex findings ingest`, and post-merge closure.

03 SKILL.md 正文

Codex Security Findings

The full loop is: export → ingest → /goal → remediate → Yeet → close. Capture/export, detail enrichment, and final closure use supported cloud tools or the authenticated in-app UI. Packet creation is bun run beep codex findings ingest; remediation follows the normal packet workflow. See docs/runbooks/codex-security-cloud.md for the verified access findings.

Never hand-build the packet. Five batches were transcribed by hand before this command existed; the boilerplate is exactly what it eliminates.

1. Export (authenticated Security Cloud)

Open the current findings view:

https://chatgpt.com/mcp-app/connector_openai_defense_factory/open_defense_factory#/findings

Prefer an exposed, supported connector tool for cloud list/get/export when its schema actually covers the operation and pagination. A URL containing mcp-app does not establish that those tools are available to the agent. Check session tools and the authenticated page's WebMCP inventory first; do not invent connector names or endpoints. The local Security CLI findings commands are not established substitutes for cloud retrieval or closure.

The signed-in in-app browser is the verified Chrome-extension-free fallback. Scope the view to one repository and the intended statuses; use More finding actions → Export CSV. An export can require confirming an external download link. Do not record its signed URL. Chrome is optional when an authenticated in-app session is available.

The CLI never authenticates. It reads a downloaded file. Do not extract cookies, tokens, or authorization headers, pass credentials as flags, or build an undocumented authenticated API client. No cloud connector was exposed in the 2026-10-05 session; the authenticated page exposed no WebMCP tools. This is a session observation, not a claim that programmatic access can never exist.

The current export has 10 columns, source-qualified commit: IDs, a GitHub repository URL, and Summary only. Finding details separately contain Validation, Evidence, and Attack-path analysis. Preserve complete identities and obtain that detail evidence before P2 verdicts; record unavailable evidence and hold unsupported decisions. Never treat Summary as the complete report.

2. Ingest

bun run beep codex findings ingest --from <download-dir>/security-findings.csv --date YYYY-MM-DD --expected-count N

<download-dir> is the browser download directory (conventionally ~/Downloads). The current filename contains no date, so pass --date explicitly. Both the legacy 17-column export and current 10-column export are detected by exact header. --source security-cloud-csv explicitly requires the current format.

Useful flags:

Flag Use
--dry-run Report the packet without writing anything.
--expected-count N Fail closed if the export holds fewer than the dashboard reported.
--slug / --branch / --date Override the derived packet identity.
--refresh Append unseen IDs from a full snapshot while preserving prior triage and CSF prose.
--force Replace an existing packet. Destroys hand-written triage prose.
--json Machine-readable summary.

--refresh and --force are mutually exclusive. A refresh requires an existing decodable packet and an exact full-snapshot superset: missing prior IDs, changed prior metadata, duplicate bindings, count drift, or packet provenance drift all fail closed. Cross-format identity migration is unsupported; never strip commit: to make a refresh pass. Keep historical packet identities until an authoritative mapping and deliberate migration are available.

The capture date comes from the export filename, or --date. It never comes from the clock, so re-ingesting the same export is byte-identical.

What lands: README.md, GOAL.md, SPEC.md, PLAN.md, research/SOURCES.md, ops/manifest.json, ops/triage.json, findings/INDEX.md, one findings/CSF-NNN.md per finding, and a gitignored raw/.

On refresh, existing triage entries, lanes, and CSF files are not regenerated. Unseen findings append after the highest reserved ordinal as untriaged P2/P3 work; machine-owned counts and status surfaces are reconciled, and the ignored normalized raw snapshot is refreshed. The human and --json summaries include the preserved IDs, appended IDs, and changed paths. Repeating an identical full snapshot is a no-op.

3. Execute

/goal follow the instructions in goals/<slug>/GOAL.md

The packet arrives at the P1 capture → P2 validate boundary. Every finding is untriaged with no verdict, owner, or lane, and every CSF body carries _pending P2_ markers. That is deliberate: the capture knows metadata, not judgment. Writing the public summary and the current-HEAD verdict is the agent's job, from the ignored evidence in raw/ and the separately obtained current Security Cloud detail evidence.

4. Close (browser, after merge)

Close only the exact captured cloud IDs after merge and merged-revision verification, as Fixed or an evidence-backed False positive. Use supported connector actions if exposed; otherwise use the signed-in in-app browser. Current UI also offers Won't fix and Duplicate, but these do not satisfy this packet's remediation gate. Record each full identity, decision, proof revision, and observed final state. Verify zero packet-applicable open findings separately from repository merge readiness. Do not mutate statuses during capture.

Current details use #/findings/commit%3A<32-hex-id> on the MCP-app URL; list navigation is the fallback if a direct link does not load. Legacy bare IDs and local IDs must never be silently converted into this namespace.

Invariants worth knowing

  • Identifiers are sticky. Refresh preserves each codexId → CSF-NNN binding and appends new findings. A number is never reused, and a refresh refuses a snapshot that omits a previously captured identity.
  • Personal data never enters the CLI. author_email, assignee_name, and assignee_email are dropped at the parse boundary, and the reject-scan independently refuses email addresses.
  • Reject, never redact. Secret-shaped content, private paths, bidi controls, and spreadsheet-formula sigils fail the ingest rather than being silently rewritten. Missed redaction in a public repo is irreversible; a false rejection costs one hand-edit.
  • raw/ is gitignored and holds the normalized capture only. The CSV is never copied into the repository. Legacy exports carry personal-data columns; the current export carries summaries and paths that still require review.
  • Writes are staged and recoverable. The complete packet is scanned and staged before promotion. Refresh moves the prior packet to a recovery backup, verifies its bytes again, restores it on a failed promotion, and removes the backup only after the new packet is in place.

Refresh an existing packet

Export the complete filtered findings view again, then run:

bun run beep codex findings ingest --refresh --from <download-dir>/codex-security-findings-<timestamp>.csv

Do not pre-filter the refresh to only new rows: removals are indistinguishable from a partial capture, so the command deliberately requires a full superset.

Source-commit ancestry is checked by a packet verification command rather than the CLI, because this repository squash-merges and a valid finding's source commit is frequently absent from the branch.

Local sealed scan source

Use docs/runbooks/codex-security.md for the supported local scanner. Run beep codex security preflight before an explicitly budgeted scan; both use the pinned external runtime and docs/security/threat-model.md.

bun run beep codex findings ingest --source security-bundle --from <sealed-scan-directory> --dry-run --json
bun run beep codex findings ingest --source security-bundle --from <sealed-scan-directory>

Local imports require a completed, digest-bound committed-revision scan from the supported producer. Preserve local:csf_… identities and private occurrence, fingerprint, scope, and coverage evidence. Partial coverage never proves a clean repository. Follow the generated local GOAL.md: targeted fix verification and merged-revision receipts replace dashboard closure. Local IDs must never be submitted to cloud finding actions. Bundle imports do not support --refresh, --force, or --date; cloud imports retain their separate evidence and closure requirements.

04 同仓库更多 Skills

beep-effect
beep-effect/beep-effect

alchemy-provider

Bring up a new Alchemy cloud provider (its own `@alchemy.run/<provider>` package under packages/<provider>) end to end — credentials, a distilled SDK, resources, bindings, live tests, and the patch loop that feeds live-test failures back into distilled — or extend an existing provider with a new service, or bring an existing provider up to the bar (gap audit, then waves). Use for "add a <X> provider", "create an alchemy provider for <X>", "port <X> to alchemy", "add <service> to the <X> provider", "bring the <X> provider up to par", or any work that needs a distilled SDK plus Alchemy resources tested against a live API.

★ 80
beep-effect
beep-effect/beep-effect

alchemy-domain

Build backends with @alchemy.run/domain (domain-driven design on Effect) - turn requirements into aggregates, commands, events, rejections, views, policies, sagas, projections, streams, queries, external systems and Apis; lay them out in a monorepo (domain / server / web packages, kind-suffixed files); test them with stories; host them on Durable Objects (Cloudflare, Rivet or Effect Cluster) with alchemy; and drive them from a foldkit frontend. Use when designing or changing an @alchemy.run/domain model, adding a building block, wiring hosting or a frontend, or reviewing such code.

★ 80
beep-effect
beep-effect/beep-effect

update-harnesses

Update every agent harness on every fleet host: T3 Code, Codex, Claude Code, Grok Build, Kimi Code, Junie, Cursor Agent and Muse on DankStation, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl and the grok-bot VM, plus the desktop apps (ChatGPT and Claude Desktop on DankStation and grok-bot; Cursor and Kimi Desktop on DankStation). Use on `/update-harnesses`, when a harness is out of date somewhere, or to audit which versions and install methods each host runs.

★ 80
beep-effect
beep-effect/beep-effect

auth-environments

Sign Claude Code in to a chosen Claude subscription on every linked T3 fleet host (grok-bot, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl). Use when a Claude account hits its weekly limit, when `bun run beep accounts` shows the fleet's account used up, or on `/auth-environments`. Opens each host's OAuth page and a masked KDE code dialog together and verifies the admitted account.

★ 80
beep-effect
beep-effect/beep-effect

shadcn 技能来源校验

shadcn

用于 shadcn 技能不可变来源(provenance)的固定装置(fixture)。

软件开发工程师插件与技能管理
★ 80
beep-effect
beep-effect/beep-effect

QA 库存判定

qa-inventory-judge

暂无简介

测试工程师测试与质量保障
★ 80