[codex] generate modular agent skills#864
Conversation
|
Codex review: needs changes before merge. Reviewed June 22, 2026, 2:22 PM ET / 18:22 UTC. Summary Reproducibility: yes. for the PR-introduced workflow defect by source inspection: Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Merge only after maintainers accept the bundled skill-package direction and the meeting-prep query is corrected to start from Do we have a high-confidence way to reproduce the issue? Yes for the PR-introduced workflow defect by source inspection: Is this the best way to solve the issue? No as-is because the meeting-prep query can fetch from start of day instead of now. The generated service-skill approach is maintainable if maintainers want this bundled package surface. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 4cac149d75a7. Label changesLabel changes:
Label justifications:
Evidence reviewedAcceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
2929916 to
d08cd66
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d08cd66699
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| 1. Fetch the next bounded set of events: | ||
|
|
||
| ```bash | ||
| gog --account user@example.com --readonly calendar events --from now --days 2 --max 20 \ |
There was a problem hiding this comment.
Start meeting-prep queries at now
When this workflow runs on a busy calendar, --days 2 takes precedence over --from now in ResolveTimeRangeWithDefaults (internal/cmd/time_helpers.go lines 179-193), so the command's TimeMin becomes the start of today rather than now. Since calendarEventsListCall orders by start time and applies --max 20 before the skill filters for the nearest future event, earlier same-day events can fill the page and hide the upcoming meeting this workflow is supposed to prep. Drop --days here or use an explicit --to with --from now.
Useful? React with 👍 / 👎.
|
Landed as Verification:
Landing fixes: runtime-readonly guidance across generated/workflow skills, unique attachment temp directories, existing-Node compatibility, and complete |
Summary
gog schema --jsonmake ciWhy
gogalready exposes a broad, stable command surface, but agents currently receive one large generic skill. Service-specific skills improve routing and progressive disclosure without duplicating the command implementation. Cross-service workflows remain hand-authored so their safety boundaries, sequencing, and cleanup rules can be reviewed instead of generated mechanically.Design
scripts/gen-agent-skills.mjslaunches the built CLI in an isolated config directory, scrubs all inheritedGOG_*policy/auth/output variables, reads the public schema, and renders only approved Google service families.make agent-skills-checkregenerates into a temporary directory and reports stale files without modifying the checkout. Generated skills defer detailed syntax togog schemaand command help; curated skills encode only task-specific ordering and safety. The script uses the repository's established Node-compatiblefileURLToPath(import.meta.url)pattern.The repository remains the source package for Agent Skills-compatible clients. Every skill includes quoted two-field frontmatter and
agents/openai.yamlmetadata. Read-oriented examples now use runtime--readonly; workflows explicitly drop it only for an approved write.Validation
make cimake agent-skills-checkquick_validate.pyacross all 30gog*skills$skill-namedefault promptsnpx skills add . --list --full-depthdiscovers all 31 repository skills--readonly --no-input; JSON shape checked and fetched content discardedGOG_ENABLE_COMMANDS_EXACT,GOG_DISABLE_COMMANDS,GOG_PLAIN,GOG_READONLY, andGOG_HOMEvalues inherited by the parent shell