Agent skill

app-server-events-sync

Maintain CodexMonitor and Codex app-server protocol parity. Use when asked to audit supported or missing app-server notifications/requests, trace event routing, diagnose schema drift in app-server payloads, or update docs/app-server-events.md after upstream Codex changes.

Stars 3,519
Forks 335

Install this agent skill to your Project

npx add-skill https://github.com/Dimillian/CodexMonitor/tree/main/.codex/skills/app-server-events-sync

SKILL.md

App-Server Events Sync

Use this skill to keep CodexMonitor app-server integration accurate as ../Codex evolves.

Canonical Source

Start with:

  • docs/app-server-events.md

Treat that file as the canonical runbook and update it when behavior changes.

Workflow

  1. Confirm upstream baseline:
  • Read Codex hash from ../Codex and update the hash in docs/app-server-events.md title.
  1. Compare notification methods:
  • Diff Codex v2 notification method set against CodexMonitor routing in src/utils/appServerEvents.ts and src/features/app/hooks/useAppServerEvents.ts.
  • Update Supported Events and Missing Events sections in docs/app-server-events.md.
  1. Compare request methods:
  • Diff Codex v2 client/server request sets against CodexMonitor outgoing and inbound handling.
  • Update Supported Requests, Missing Client Requests, and Server Requests sections.
  1. Investigate schema drift when lists look unchanged:
  • Inspect v2 payload structs in ../Codex/codex-rs/app-server-protocol/src/protocol/v2.rs.
  • Compare parser and normalization edges in src/utils/appServerEvents.ts, src/features/app/hooks/useAppServerEvents.ts, and src/features/threads/utils/threadNormalize.ts.
  1. Implement support when requested:
  • Add method/type support at parsing edges first.
  • Route in app event hook.
  • Update thread/item reducers and rendering only if needed.
  • Keep app/daemon parity and avoid duplicated logic.
  1. Validate:
  • Run targeted tests for touched files.
  • Run npm run typecheck.
  • Run npm run test for frontend behavior changes.
  • Run cd src-tauri && cargo check for backend changes.

Key Files

  • Routing/types: src/utils/appServerEvents.ts
  • Event router: src/features/app/hooks/useAppServerEvents.ts
  • Handler composition: src/features/threads/hooks/useThreadEventHandlers.ts
  • Item/turn handlers: src/features/threads/hooks/useThreadItemEvents.ts, src/features/threads/hooks/useThreadTurnEvents.ts
  • Normalization: src/features/threads/utils/threadNormalize.ts
  • State: src/features/threads/hooks/useThreadsReducer.ts
  • Outgoing requests: src/services/tauri.ts, src-tauri/src/shared/codex_core.rs
  • Daemon RPC: src-tauri/src/bin/codex_monitor_daemon/rpc.rs and rpc/*

References

  • Quick command set: references/quick-commands.md
  • Canonical runbook: docs/app-server-events.md

Output Expectations

When asked for an audit or update:

  • Report concrete supported and missing method deltas.
  • Cite exact files that need edits.
  • Update docs/app-server-events.md in the same change when behavior changed.
  • Call out deliberate non-support explicitly (for example deprecated methods).

Expand your agent's capabilities with these related and highly-rated skills.

Dimillian/Skills

bug-hunt-swarm

Parallel read-only multi-agent root-cause investigation for bugs, regressions, crashes, flaky behavior, or unexplained failures. Use when the user asks to investigate a bug, find the root cause, trace a regression, understand why something broke, or wants a ranked diagnosis with the fastest proof path without making code edits.

2,423 134
Explore
Dimillian/Skills

review-swarm

Parallel read-only multi-agent review of a current git diff or explicit file scope to find behavioral regressions, security or privacy risks, performance or reliability issues, and contract or test coverage gaps. Use when the user asks for a review swarm, parallel review, diff review, regression review, security review, or wants high-signal issues plus a prioritized fix path without editing files.

2,423 134
Explore
Dimillian/Skills

swiftui-ui-patterns

Best practices and example-driven guidance for building SwiftUI views and components, including navigation hierarchies, custom view modifiers, and responsive layouts with stacks and grids. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens with VStack/HStack, managing @State or @Binding, building declarative iOS interfaces, or needing component-specific patterns and examples.

2,423 134
Explore
Dimillian/Skills

swiftui-liquid-glass

Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing feature to Liquid Glass, or review Liquid Glass usage for correctness, performance, and design alignment.

2,423 134
Explore
Dimillian/Skills

swiftui-view-refactor

Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage. Use when cleaning up a SwiftUI view, splitting long bodies, removing inline actions or side effects, reducing computed `some View` helpers, or standardizing `@Observable` and view model initialization patterns.

2,423 134
Explore
Dimillian/Skills

project-skill-audit

Analyze a project's past Codex sessions, memory files, and existing local skills to recommend the highest-value skills to create or update. Use when a user asks what skills a project needs, wants skill ideas grounded in real project history, wants an audit of current project-local skills, or wants recommendations for updating stale or incomplete skills instead of creating duplicates.

2,423 134
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results