| name | observe-agent-smith |
| description | Run MAPS Phase 7 Observe with LangSmith. Use when Codex needs to apply the base observe-agent workflow through LangSmith traces, runs, datasets, feedback, annotations, monitoring views, experiments, or eval-to-observe continuity. |
Observe Agent+Smith
Versioning
Current version: 0.1.0.
Follow semantic versioning for this skill:
- Patch: wording, examples, references, or small workflow clarifications.
- Minor: new outputs, new required steps, new helper behavior, or expanded workflow capability.
- Major: renamed outputs, changed artifact contracts, removed behavior, or incompatible workflow changes.
When changing this skill, update Current version and add a Changelog entry with the date, version, and short summary of behavior changed.
Changelog
- 2026-06-19 - v0.1.0 - Established the initial MAPS wrapper skill version baseline and changelog tracking.
Use /observe-agent+smith after Phase 6 when the deployed agent should be observed through LangSmith.
This wrapper keeps /observe-agent as the base workflow and adds LangSmith-specific instrumentation, evidence, and review habits.
Project foundation updates
At the start of every project run, look for project-foundation.md. If it exists, read Persistent Memory Contract and use its configured notes, sources, memory, RAG, and sync rules as the project defaults. If .maps/foundation-preferences.json exists, use it as the structured preference source for automation.
When this wrapper creates durable knowledge, write it through the shared MAPS memory helper. The helper gives this skill its own named note under the configured notes root, mirrors that note into the configured RAG location when one exists, appends MAPS Skill Run Log, and records a RAG reindex manifest.
At the end of the run, call the helper after creating the primary output artifact:
ash python "$CODEX_HOME/skills/foundation/scripts/maps_memory.py" complete-run --project . --skill /observe-agent+smith --phase Wrapper --output "<primary artifact path>" --summary-file "<primary artifact path>" --memory-updates "<notes, sources, memory, or RAG updates>"
If the helper is unavailable, manually append the timestamp, skill, phase, output path, memory updates, and short note to project-foundation.md, then update this skill's named note in /maps-runs/.
- All
/observe-agent inputs
- LangSmith project, workspace, trace links, API/key availability, dataset or experiment links when available
- Phase 5 LangSmith eval traces or datasets when available
Required interview
Before acting, ask for any missing answers required to choose the target artifact, wrapper path, runtime, provider, evidence source, or approval boundary.
Ask exactly one question at a time. Do not present the user with a multi-question form, checklist, or table to fill out. Ask the next most important missing question, wait for the answer, then continue.
- Run the base
/observe-agent workflow first.
- Connect Phase 7 evidence to LangSmith:
- project and environment
- traces and runs
- feedback and annotation queues
- datasets and experiments
- monitoring views
- eval baseline links from Phase 5
- Recommend the LangSmith observation plan before asking broad questions.
- Record missing LangSmith setup when access, project config, tracing, sampling, feedback capture, or dataset links are unavailable.
- Use LangSmith evidence to identify production failures, eval drift, bad tool trajectories, latency/cost spikes, and user feedback patterns.
- Convert confirmed findings into Phase 8 improvement backlog items.
LangSmith Must Cover
- Trace/run links for representative production requests.
- Dataset or experiment links that connect production findings back to Phase 5 evals.
- Feedback and annotation process for human review.
- Cost, latency, error, and quality signals visible in LangSmith or paired runtime metrics.
- Missing instrumentation or sampling gaps.
- Improvement items backed by LangSmith evidence.
Best Fit
- Choose this wrapper when the class wants eval-to-observe continuity from Phase 5.
- Choose it when the project already uses LangSmith for datasets, experiments, tracing, or annotation.
- Do not present LangSmith as requiring LangGraph.
Completion report
When the skill is complete, tell the user explicitly. Do not end with only files changed or raw output.
Report:
- Completion status: complete, blocked, or needs more answers.
- Outcome: the concrete artifact, decision, scaffold, implementation, or plan produced.
- Key decisions or changes made.
- Memory update: whether the shared MAPS memory helper ran, what note/run log was updated, and what RAG or notes locations need syncing.
- Next skill: the next MAPS phase skill, wrapper, or follow-up skill that should run.
If the skill is blocked, say what answer, artifact, access, approval, or tool is needed before the next skill can run.
Output
agents/{agent-handle}/observation-plan.md
agents/{agent-handle}/observation-log.md
- LangSmith evidence links and missing setup notes
- Phase 8 improvement backlog entries or handoff notes