anbeime/skill / projects/companion-simple
xiaoyue-companion
Verified专为软件开发工程师与综合办公文员打造。当你在等待任务执行、工作疲惫或需要鼓励时,使用此技能通过智谱AI自动生成温暖对话回应与场景配图,一键获取专属情绪价值与虚拟陪伴,让AI助手更懂你。
setup_scheduled_task.ps1
View on GitHub# 使用 Windows 任务计划程序设置自动更新
# PowerShell 脚本
$TaskName = "SkillStoreAutoUpdate"
$ScriptPath = "C:\D\StepFun\skill_store_updater\main.py"
$WorkingDir = "C:\D\StepFun\skill_store_updater"
$PythonPath = (Get-Command python).Source
# 创建任务操作
$Action = New-ScheduledTaskAction -Execute $PythonPath `
-Argument "$ScriptPath --once" `
-WorkingDirectory $WorkingDir
# 创建触发器(每天凌晨2点执行)
$Trigger = New-ScheduledTaskTrigger -Daily -At 2:00AM
# 创建任务设置
$Settings = New-ScheduledTaskSettingsSet `
-AllowStartIfOnBatteries `
-DontStopIfGoingOnBatteries `
-StartWhenAvailable `
-RunOnlyIfNetworkAvailable
# 注册任务
Register-ScheduledTask -TaskName $TaskName `
-Action $Action `
-Trigger $Trigger `
-Settings $Settings `
-Description "自动从 GitHub 更新技能商店数据" `
-Force
Write-Host "定时任务已创建: $TaskName"
Write-Host "执行时间: 每天凌晨 2:00"
Write-Host "可在'任务计划程序'中查看和管理"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |