Skip to content
Agentmart
Submit a tool
This entry duplicates Sync Logs, which is the one we list in search.

Sync Logs

Use when the user asks to "sync logs", "repair MCP session logs", "logging summary", or "summarize logging" to synchronize and reconcile MCP Server session…

Skill by sharpninja

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sharpninja-sync-logs-a805bb

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when the user asks to "sync logs", "repair MCP session logs", "logging summary", or "summarize logging" to synchronize and reconcile MCP Server session logs through the plugin bridge.

Use cases: backend, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
Sync Logs
Description
Use when the user asks to "sync logs", "repair MCP session logs", "logging summary", or "summarize logging" to synchronize and reconcile MCP Server session logs through the plugin bridge.
License
MIT
Instructions
22 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "Sync Logs" does not match folder "sync-logs"

Files (1)

  • SKILL.md

SKILL.md (first lines)

Route MCP session-log operations through your plugin's local bridge: its status check, REPL-invoke, marker-resolver, and final-response helpers (or the equivalent `ReplBridge` transport and `session*` bridge tools). Do not use raw REST for normal MCP mutations.

The `workflow.*` names below are plugin workflow/REPL method names used by the bridge, not literal agent-visible MCP tool names. Your agent-visible tools use this plugin's host-facing names, and native `/mcp-transport` tools use names such as `sessionlog_*`, `todo_*`, and `requirements_*`. Do not declare the plugin unavailable solely because generic MCP discovery does not list literal `workflow.*` names.

## Steps

1. Run a status check through the bridge first, and trust the marker details reported by the plugin.
2. Ensure session/turn handling is open with `workflow.sessionlog.openSession` or `workflow.sessionlog.beginTurn`.
3. Append reasoning and results with `workflow.sessionlog.appendDialog`.
4. Append durable actions with `workflow.sessionlog.appendActions`.
5. Discover background sessions from plugin cache/workspace session state before summarizing.
6. End with a compact factual summary that names session ids, turn ids, actions, commits, validation, defects, and unresolved blockers.

## Wrapper Result Semantics

- Treat `deprecated: true` on a successful `workflow.sessionlog.*` result as migration metadata only. It means the workflow namespace is legacy-compatible and should migrate toward `client.*` where practical; it does not mean the wrapper is broken.
- Treat only `type: error`, a nonzero wrapper exit code, `MCP_UNTRUSTED`, or `MCP_PLUGIN_UNAVAILABLE:<Agent>` as MCP/plugin failure states.
- An empty `workflow.sessionlog.queryHistory` result is a valid result. It means no sessions matched the supplied query, agent filter, workspace, or offset. Re-run the wrapper with the correct workspace current directory, explicit `agent` or `sourceType`, and plugin cache/session state before concluding history is absent.
- Do not fall back to raw REST because `queryHistory` returned no rows or because the result included `deprecated: true`. If wrapper recovery cannot find the active turn, report that sync-logs could not locate history through the plugin and continue with non-MCP work.
- Raw REST is allowed only when the user's active request is REST/API diagnostics and the plugin path has already failed closed.

From sharpninja/mcpserver-grok-plugin, MIT.

Signals

Stars
0
Forks
0
Open issues
1
Last commit (this folder)
Jul 7, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from sharpninja

Cite this page

Sync Logs skill. Agent Mart. https://agentmart.dev/skills/sharpninja-sync-logs-a805bb (last updated 2026-10-24)