DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to count and export your repeated prompts with CLI Faq Shortcuts

Run the extractor alone to list, count or export your prompts with no agent involved.

Short answer: Run E=~/.agents/skills/faq-shortcuts/scripts/extract_asks.py after the clone step in the Quick start; then run python3 "$E" . | head to see the matching prompts in your project folder; run python3 "$E" . --since 2026-09-01 | wc -l to count prompts since a date. All steps.

Credentials. The exported JSONL contains raw prompts that may include tokens or personal data, so do not share or commit the output file.

Who it is forA developer or team lead who wants to see how much time goes into repeated requests before picking shortcuts.

The problemWithout a count, it is hard to tell which requests are worth turning into shortcuts.

The outcomeA list of your matching prompts, a count since a chosen date, and JSONL records you can load into your own scripts.

What you need first

  • git and Python 3.9+ installed (macOS, Linux, or Windows with the PowerShell steps)
  • Claude Code, Codex or Cursor installed, with existing prompt history on the machine
  • A project folder you have already worked in with one of those agents

Steps

  1. Run E=~/.agents/skills/faq-shortcuts/scripts/extract_asks.py after the clone step in the Quick start.
  2. Run python3 "$E" . | head to see the matching prompts in your project folder. (inferred, check the README)
  3. Run python3 "$E" . --since 2026-09-01 | wc -l to count prompts since a date.
  4. Run python3 "$E" . --format jsonl to get one JSON record per prompt with date, source and prompt fields.

Prompt for your agent

Using the cli-faq-shortcuts extractor at ~/.agents/skills/faq-shortcuts/scripts/extract_asks.py, run it on <project_path> with --format jsonl and write the records to a file. Expected output: one JSON object per line with date, source and prompt fields. Verify the file line count matches the count from the default tsv output.

Caveat. Prompts longer than 400 characters are filtered by default, so raise --max-len if your usual requests are longer.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for kishormorol/cli-faq-shortcuts and "Count and export your repeated prompts"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer