Claude Code Prompt Recorder
Description
A Claude Code hook plugin that records every user prompt with a timestamp
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude Code Prompt Recorder
A Claude Code plugin that records every user prompt with a timestamp to `prompt_log.txt` in the project directory. Useful for reviewing your interaction history, tracking prompt patterns, and building a personal prompt knowledge base.
What It Does
Intercepts every prompt submitted to Claude Code via the `UserPromptSubmit` hook, and appends it with a timestamp to `prompt_log.txt` in the current working directory. The prompt is passed through unchanged — recording is completely transparent with zero impact on your workflow.
**Log format:**
[2026-02-07 14:30:15] 帮我写一个排序函数
[2026-02-07 14:32:08] Fix the TypeError in src/utils.ts line 42
[2026-02-07 14:35:22] Refactor the auth module to use async/await
Installation
Option 1: Via Marketplace (Recommended)
- Add the marketplace:
claude plugin marketplace add irmowan/claude-code-prompt-recorder
- Install the plugin:
claude plugin install prompt-recorder@claude-code-prompt-recorder
- Restart Claude Code
Verify installation with `/plugin` command. You should see the `prompt-recorder` plugin listed.
Option 2: Direct Install
claude plugin install /path/to/claude-code-prompt-recorder
Then restart Claude Code.
Usage
No configuration needed. Once installed, every prompt you submit is automatically recorded.
# Just use Claude Code as usual
claude "fix the bug in auth.ts"
# → [2026-02-07 10:00:01] fix the bug in auth.ts is appended to prompt_log.txt
claude "add unit tests for the User model"
# → [2026-02-07 10:05:33] add unit tests for the User model is appended to prompt_log.txt
The `prompt_log.txt` file is created in the current working directory (the project root where Claude Code is running).
Log File Location
- Path:
/prompt_log.txt - Format:
[YYYY-MM-DD HH:MM:SS] - Encoding: UTF-8
- Mode: Append-only (existing logs are never overwritten)
Architectu
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development