phtui: Skill for Claude Code

.skills/phtui-idea-pocket/SKILL.md

phtui-idea-pocket is a skill for Claude Code, Codex from qyinm/phtui. It costs 43 tokens per session (1,093 once invoked), scanned A, original, MIT.

A low-token tool for finding product ideas and examples on Product Hunt, a site where new products are launched and discussed. It supports searching by category and fetching details for selected products.

In plain words
What is it for?
Use it to scan product categories, study potential competitors or inspirations, and extract target users, workflows, pricing clues, feature ideas, and possible MVP directions.
Why use it?
It reduces the amount of raw market information an agent must process when exploring service ideas or planning an early product.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is qyinm/phtui's own configuration. It tells Claude Code and Codex how to work on phtui 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 phtui configures →

View source ↗ qyinm/phtui
Reuse

Borrowing it

Nothing to install: this file belongs to qyinm/phtui. 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/qyinm/phtui/main/.skills/phtui-idea-pocket/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/qyinm/phtui

Made for: Claude Code, 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 phtui-idea-pocket

README.md
[![agentmods](https://agentmods.dev/badge/skills/qyinm/phtui/phtui-idea-pocket/github.svg)](https://agentmods.dev/skills/qyinm/phtui/phtui-idea-pocket)
Your own site
<a href="https://agentmods.dev/skills/qyinm/phtui/phtui-idea-pocket"><img src="https://agentmods.dev/badge/skills/qyinm/phtui/phtui-idea-pocket/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 phtui-idea-pocket

Your own site · 80×15
<a href="https://agentmods.dev/skills/qyinm/phtui/phtui-idea-pocket"><img src="https://agentmods.dev/badge/skills/qyinm/phtui/phtui-idea-pocket.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,093 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.
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.00043 $0.01093
Opus 5 $0.00022 $0.00547
Sonnet 5 $0.00009 $0.00219
Haiku 4.5 $0.00004 $0.00109

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

Security

Grade A, and why

phtui-idea-pocket 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.

.skills/phtui-idea-pocket/SKILL.md · 163 lines

How it starts

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

phtui Idea Pocket

Overview

phtui is a Product Hunt-powered idea pocket for agents building new services.

Use the CLI first. MCP is available, but CLI JSON output is usually cheaper in tokens because the agent can request a narrow command, inspect only the fields it needs, and avoid loading a broad MCP tool context.

Install

If phtui is already installed:

phtui help

Install latest from Go:

go install github.com/qyinm/phtui@latest

Or run from a checked-out repo:

go run . help

Core Workflow

  1. Start broad with ideas.
  2. Pick 1-3 products that match the user's product direction.
  3. Fetch details only for those selected products.
  4. Summarize concrete reusable patterns: target user, core workflow, pricing clue, feature hook, and possible MVP angle.
  5. Do not paste full raw JSON unless the user asks. Extract only the relevant signals.

Commands

Category inspiration

Use this when the user has a domain, category, or product area.

phtui ideas --category ai-agents --limit 5

From source checkout:

go run . ideas --category ai-agents --limit 5

Expected JSON shape:

{
  "source": "category",
  "category_slug": "ai-agents",
  "total": 5,
  "items": [
    {
      "product": {
        "slug": "example",
        "name": "Example",
        "tagline": "Short positioning",
        "votes": 123,
        "comments": 8,
        "rank": 1,
        "categories": ["AI Agents"]
      },
      "inspiration_reason": "...",
      "feature_signals": ["..."],
      "market_signals": ["..."]
    }
  ]
}

Leaderboard inspiration

Use this when the user asks what is currently popular or wants broad market scanning.

phtui ideas --period daily --limit 5
phtui ideas --period weekly --limit 10
phtui ideas --period monthly --date 2026-05-01 --limit 10

Product detail

Use this after selecting a product slug from ideas or leaderboard.

phtui detail <product-slug>

Read the full file on GitHub · 163 lines

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 · 163 lines · 43 tokens per session scan A 9ae9d4dc28de

Subscribe to this mod's changes

phtui-idea-pocket is a skill published in the GitHub repository qyinm/phtui (4 stars, last pushed 4mo ago), licensed MIT. It adds 43 tokens to every session and 1,093 once invoked, about $0.0002 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-31.