本文へスキップ
Skillpedia
一般的なプログラミング70k · #3130

coding-agent-sessions

できること

このツールは、コードを書くAIアシスタントとの過去の会話を探して見直すのに役立ちます。会話が保存されているさまざまなプラットフォームを横断して検索できます。

使う場面

  • ✓以前のプロジェクトで何をしたかを思い出したいとき。
  • ✓AIアシスタントが提示したコードの断片や説明を探したいとき。
  • ✓コーディングの問題がどのように解決されたか、その履歴を確認したいとき。

スキルのリンク

https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/shared-skills/skills/coding-agent-sessions/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/shared-skills/skills/coding-agent-sessions/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“プロジェクトXのログインバグの修正について話した会話を検索して。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、AIアシスタントとの会話が保存されているログファイルを検索します。CodexやClaudeなどのプラットフォーム名や日付で絞り込んで、目的の会話を見つけられます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Coding Agent Sessions

Find local coding-agent sessions across agent products before answering from memory. Prefer the bundled finder for broad cross-platform search, then read the selected session or raw file when you need exact evidence.

PHASE 0 - PLATFORM ROUTER

  1. IF the user names a platform, load its reference first.

    Platform Read
    Codex / OpenAI Codex CLI references/codex.md
    Claude Code / Claude Desktop histories references/claude.md
    OMO / Senpi / pi coding-agent logs references/senpi.md
    oh-my-pi (omp, ~/.omp) and gajae-code (gjc, ~/.gjc) logs references/senpi.md
    OpenCode / oh-my-openagent (formerly oh-my-opencode) storage references/opencode.md
    OpenClaw, Droid, Amp, Gemini, Kimi, Qwen, Codebuff, Roo/Kilo/Cline, Kodu, Cursor CLI, Aider, Kiro, Goose, Hermes, Crush, Zed, Aside references/all-platforms.md
    Unknown / "any session" / cross-agent search references/all-platforms.md
  2. Run the broad finder first unless the user gave an exact file path. For fuzzy recall, expand the query first.

When the user remembers a task vaguely ("that OpenCode bug", "the dashboard PR", "when did we fix X"), derive 3-6 short query lanes before searching: product/tool aliases, repo/package names, exact error text, issue/PR/session IDs, English/Korean phrasing, and likely verbs such as fix, review, plan, deploy, or merge. Run the lanes together with repeated --query so match_reasons shows which wording found the hit.

python3 scripts/find-agent-sessions.py list --limit 20
python3 scripts/find-agent-sessions.py find "commit" --from 7d --platform senpi --platform opencode
python3 scripts/find-agent-sessions.py find "proxy" --platform openclaw --platform droid --platform amp
python3 scripts/find-agent-sessions.py find "refactor" --platform oh-my-pi --platform gajae-code
python3 scripts/find-agent-sessions.py find --query "deploy" --query "token usage" --workers 64
python3 scripts/find-agent-sessions.py find --query "opencode bug" --query "fix opencode" --query "OpenCode parent session" --include-subagents --workers 64
python3 scripts/find-agent-sessions.py read <session-id>

Use python instead of python3 on systems where that is the available executable.

  1. Use explorer-style parallel lanes when one query batch is not enough.

If scope is broad (multi-month, many repos/platforms, or a vague "what happened with X"), split independent searches by names/errors, repos/cwds, platforms/models, and time windows. Use available subagent/delegation tools for these lanes when they exist; otherwise run the finder calls in parallel. Merge candidates by id/path, then read the most likely sessions.

  1. Read details from search results before ad hoc digging. Search results include detail_hint; run that read <session-id> --platform <platform> command to see the first user prompt, last user prompt, events, and child sessions together.

  2. Verify by opening raw transcripts for claims. The finder normalizes formats; the raw path remains the source of truth.

Output Contract

The finder prints JSON for stdout and jq. Every result includes:

Field Meaning
platform Registered platform key such as codex, claude, senpi, oh-my-pi, gajae-code, opencode, openclaw, droid, amp, kodu, cursor-cli, aider, roo-code, kilo-code, kilo-cli, kiro, or aside
id Session ID or stable file-derived ID
path Raw transcript/index file
cwd Working directory when recoverable
created_at, updated_at ISO-like timestamps when recoverable
provider, model Model metadata when recoverable
first_user_message First user prompt preview (for subagents: task description + delegated prompt)
last_user_message Last user prompt preview when recoverable
usage Token/cost clues when present in the platform log
parent_id Parent session/thread ID when this is a subagent or child session, else null
agent Subagent label (Claude agentType, Codex nickname (role), OpenCode agent name)
subagent_count Number of child sessions spawned by this session
detail_hint Ready-to-run read command for detailed inspection
match_reasons Search-only array explaining which field/content matched each query

…

よくある質問

「コーディングエージェントのセッション」とは何ですか?

コードを書いたりデバッグしたりするのを手伝うAIアシスタントとのやり取りの記録です。

どのプラットフォームに対応していますか?

Codex、Claude、OpenCode、OMO/Senpiなど、さまざまなプラットフォームやローカルのログに対応しています。

会話はどのように検索されますか?

ログが保存されている特定のディレクトリを検索するスクリプトを使います。プラットフォーム名、日付、さらに会話内のキーワードで絞り込めます。

詳細

作者による元の説明

Finds, reads, and reconstructs coding-agent sessions across Codex, Claude, OpenCode, OMO/Senpi, and other local agent logs. Use when asked to find or search past sessions, transcripts, or subagent runs, or to recover what an earlier session did.

repo: code-yeongyu/oh-my-openagent

人気

GitHubのスター
70k
ランキング
#3130
ライセンス
NOASSERTION
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル