ProductFlow: Skill for Codex

.agents/skills/trellis-session-insight/SKILL.md

trellis-session-insight is a skill for Codex from yuqie6/ProductFlow. It costs 140 tokens per session (1,473 once invoked), scanned A, original, MIT.

A local memory skill that searches earlier AI conversations through the Trellis mem command-line tool. It can inspect past Claude Code and Codex sessions without uploading them.

In plain words
What is it for?
Finding how a problem was solved previously, checking whether a topic was discussed, recalling decisions, and reviewing related past brainstorming.
Why use it?
It helps recover earlier decisions and solutions instead of repeating research or guessing what was agreed before. It also makes clear when a requested conversation source is not supported.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is yuqie6/ProductFlow's own configuration. It tells Codex how to work on ProductFlow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ProductFlow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yuqie6/ProductFlow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yuqie6/ProductFlow/main/.agents/skills/trellis-session-insight/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yuqie6/ProductFlow

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trellis-session-insight

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuqie6/productflow/trellis-session-insight/github.svg)](https://agentmods.dev/skills/yuqie6/productflow/trellis-session-insight)
Your own site
<a href="https://agentmods.dev/skills/yuqie6/productflow/trellis-session-insight"><img src="https://agentmods.dev/badge/skills/yuqie6/productflow/trellis-session-insight/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trellis-session-insight

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuqie6/productflow/trellis-session-insight"><img src="https://agentmods.dev/badge/skills/yuqie6/productflow/trellis-session-insight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00140 $0.01473
Opus 5 $0.00070 $0.00737
Sonnet 5 $0.00028 $0.00295
Haiku 4.5 $0.00014 $0.00147

Measured 10d ago against content hash d2893a294da1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

trellis-session-insight scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

.agents/skills/trellis-session-insight/SKILL.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trellis Session Insight

This skill teaches an AI how to call trellis mem — the project's cross-session memory feedstock — and when reaching for it is the right move.

It is intentionally a capability skill, not a workflow. There is no fixed output file, no required write-back step, no "always run after finish-work" rule. What to do with what mem returns is a judgement call made in the moment of the conversation. The skill exists so the AI knows the capability is there and can decide.

What trellis mem is

A local CLI that indexes the user's past Claude Code and Codex conversation logs (the JSONL files each platform stores under ~/.claude/projects/ and ~/.codex/sessions/) and lets you list, search, slice by Trellis task boundaries, and dump cleaned dialogue from them. OpenCode logs are not yet indexable (provider adapter pending) — when an OpenCode session is the obvious target, surface that limitation rather than guessing.

Nothing in mem is uploaded. All reads are local.

When to reach for it

The bar is "would a senior teammate ask 'didn't we already talk about this?'" — those are the moments. Some concrete patterns:

  • Brainstorm rerun risk. Starting a new task that touches an area the user has been in before, and you want to check whether a decision was already made — before re-asking the user.
  • Familiar-bug debugging. The current bug pattern feels like one the user reported / fixed before. Pulling the relevant past session can save a full debugging loop.
  • Cross-session continuation. The user resumes work after a gap and says "where were we" / "继续上次的" without being specific.
  • Decision retrieval. The user references "the decision we made about X" but the decision lives in an old brainstorm, not in any prd.md / spec/.
  • Finish-work retrospective. When the user explicitly asks for a wrap-up of what was decided / what hurt / what surprised them in this task — not as a forced step on every finish-work.
  • Pattern-spotting across past work. The user asks "do I keep making the same mistake on X" / "我每次都踩这个坑吗" — search across sessions answers that.

Read the full file on GitHub · 82 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 82 lines · 140 tokens per session scan A d2893a294da1

Subscribe to this mod's changes

trellis-session-insight is a skill published in the GitHub repository yuqie6/ProductFlow (302 stars, last pushed today), licensed MIT. It adds 140 tokens to every session and 1,473 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ordercli

Foodora-only CLI for checking past orders and active order status (Deliveroo WIP).

djblack1209-coder/OpenClaw-Bot · 21 tokens

resume-builder

Generate professional resumes that conform to the Reactive Resume schema. Use when the user wants to create, build, or generate a resume through conversational AI, or asks about resume structure, sections, or content. This skill guides the agent to ask clarifying questions, avoid hallucination, and produce valid JSON…

amruthpillai/reactive-resume · 71 tokens

frontend-feature

Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.

vstorm-co/full-stack-ai-agent-template · 64 tokens

stripe-skill

Process payments, manage customers, issue refunds, and handle subscriptions via the Stripe CLI. Pass any Stripe command (customers, charges, paymentintents, refunds, invoices, products, prices, subscriptions) and the tool runs it for you and returns parsed JSON.

zeenie-ai/OpenCompany · 56 tokens

Nerve Development

Nerve backend (Python) and frontend (React/TS) development and code contribution. Use when writing Python code for Nerve, fixing bugs, adding features, reviewing Nerve PRs, building the frontend, running tests, or working with the Nerve codebase. Triggers on "nerve code", "nerve PR", "fix nerve", "nerve feature"…

ClickHouse/nerve · 96 tokens

price-tracker

Track and compare prices across e-commerce websites using stealth scraping.

CoWork-OS/CoWork-OS · 16 tokens