claude-today-setup
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "claude-today-setup" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3d358890591c5c0d3d5251f7240e4760457fd56c9037a2584a6002218e2ea8c1. Verify the upstream source and version against https://skillhub.cn/skills/user_d684b111/claude-today-setup before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Interactively configure the Claude Code daily startup command (claude-today), creating date-isolated working directories and automatically writing to the PowerShell $PROFILE on Windows. Suitable for Windows users who want automatic per-date folders and alias/startup setup across different project directories.
Introduction source: third_party · user_d684b111 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- $OutputEncoding = [System.Text.UTF8Encoding]::new() [Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()
- Software, accounts and paid services
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: claude-today-setup
description: 交互式配置 Claude Code 日常启动命令(claude-today),按日期隔离工作目录,自动写入 PowerShell $PROFILE。适合需要让 Claude Code 在不同项目目录下自动创建日期隔离文件夹的 Windows 用户。当用户提到"配置启动"、"设置工作目录"、"claude-today"、"每次新建日期文件夹"、"PowerShell 配置"、"自动创建文件夹"、"项目目录隔离"、"设置别名"时触发。
slug: claude-today-setup
displayName: Claude Today Setup
version: 1.0.0
metadata:
type: skill
clawdbot:
emoji: 🚀
requires:
bins: []
install:
- kind: git
label: 从 GitHub 安装
url: https://github.com/skillhub-community/claude-today-setupClaude Today Setup
为 Windows PowerShell 用户自动配置 Claude Code 的快捷启动命令,支持按日期隔离工作目录。
流程概览
你这个技能的作用是:通过交互式问答,帮用户在 PowerShell 中配置好 claude-today 和 claude-web 等快捷命令。你(Claude)是执行者,用户是被配置者。
Step 1: 打招呼 & 确认意图
先简要介绍你要做什么,然后开始提问。
Step 2: 逐个提问(每次问一个)
使用 AskUserQuestion 工具逐个提问,每次只问一个,等用户回答后再问下一个。
问题清单(按顺序):
-
工作目录基础路径
- 含义:每天自动创建的日期文件夹放在哪里?
- 例如:
C:\Users\用户名\Claude_Code→ 每天会创建2026\07\09子目录 - 默认值:
C:\Users\<当前用户名>\Claude_Code - 注意:如果用户没有明确的分类习惯,推荐使用默认值;如果用户有明确的项目分类体系,让用户自己输入路径
-
权限模式
- 选项:
A)
--dangerously-skip-permissions— 跳过所有权限确认,最高权限 B)--accept-edits— 自动允许编辑操作,危险操作仍需确认 C) 不加参数 — 每次手动确认 - 默认:A(大多数用户期望省事)
- 选项:
A)
-
输出语言
- 选项:中文 / English
- 默认:取决于用户回复语言,自动匹配
-
是否需要项目快捷方式?
- 提示用户可以添加额外的快捷命令,直接进入常用项目目录
- 例如:
claude-web→E:\Other_file\claude_learning\HTML网页 - 用户可以说"不需要",或者提供路径
- 支持多个
Step 3: 生成 PowerShell Profile 内容
根据用户的回答,生成以下 PowerShell 函数:
# 强制 UTF-8 输出编码(解决中文乱码)
$OutputEncoding = [System.Text.UTF8Encoding]::new()
[Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()
# Claude Code 快捷启动 — 按日期隔离工作目录
function claude-today {
$m = Get-Date -Format 'MM'
$d = Get-Date -Format 'dd'
$dir = "<base_path>\2026\$m\$d"
New-Item -ItemType Directory -Force -Path $dir | Out-Null
Set-Location $dir
if (Get-Culture).Name -match 'zh' {
Write-Host "📂 工作目录: $dir"
} else {
Write-Host "Work dir: $dir"
}
claude <permission_flag>
}
# 用户自定义的项目快捷方式
<如果有项目快捷方式,逐个生成>
function claude-<name> {
Set-Location "<project_path>"
Write-Host "Work dir: <project_path>"
claude <permission_flag>
}
Step 4: 确定 $PROFILE 路径
Windows PowerShell 5.1(系统自带)的 profile 路径通常是:
D:\System_components\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
但有例外情况。通过运行以下命令获取实际路径:
echo $PROFILE
你可以让用户在 PowerShell 中跑这个命令然后把结果告诉你,或者使用默认路径。
检测方法:
- 检查
$PROFILE路径是否存在,如果不存在则检查是否存在$env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 - 如果都找不到,使用
$env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
Step 5: 写入 Profile 文件
使用 Write 工具将生成的内容写入到用户的 PowerShell profile 中。
Step 6: 完成提示
告诉用户:
- 需要 关掉当前 PowerShell 窗口,重新打开一个 才能生效
- 然后直接输入
claude-today即可使用 - 如果选择创建了项目快捷方式,也提示对应的命令名
注意事项
- 路径格式:Windows 路径使用反斜杠
\,PowerShell 中字符串内的反斜杠不需要转义 - 编码:确保写入的文件是 UTF-8 without BOM 编码
- 权限:如果 profile 文件已存在,不要删除原有内容,将新内容追加到文件头部
- 已存在的函数:如果用户已有
claude-today函数,先备份再覆盖 - SkillHub 发布说明:此 skill 通过
skillhub publish <path>发布到 community 源
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对 Windows 用户使用 Claude Code 的特定需求,提供按日期隔离工作目录的实用功能
- 通过交互式配置简化用户操作,提升日常使用效率
Highlights
- 触发词覆盖全面,包含多种用户可能表达的意图
- 边界清晰,不易与其他 Skill 重叠
Highlights
- 结构完整,流程清晰,包含详细的步骤说明和代码示例
- frontmatter 完整,文档组织良好
Highlights
- 详细说明了异常处理机制,如路径格式、编码、已存在函数处理等
- 工具使用正确,参数合理,覆盖主要异常情况
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.