workspace-health

检测并修复OpenClaw工作目录嵌套问题

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "workspace-health" with this command: npx skills add maxkandel99-arch/workspace-health

检测并修复OpenClaw工作目录嵌套问题。

触发条件

用户提到以下任意关键词时激活:

  • 工作目录异常
  • 嵌套目录
  • .openclawworkspace
  • workspace问题
  • 路径错误
  • openclaw doctor
  • openclaw init

功能

1. 检测嵌套目录

扫描 .openclawworkspace 递归嵌套目录

2. 校验工作目录

  • 检查配置文件中的工作目录
  • 检查当前工作目录
  • 验证路径有效性

3. 修复功能

  • 删除嵌套目录
  • 修复配置文件中的工作目录路径

使用方法

# 检测嵌套目录
.\detect-nested-workspace.ps1

# 校验工作目录
.\validate-workspace.ps1

# 修复(演练模式)
.\fix-nested-workspace.ps1 -DryRun:$true

# 修复(执行)
.\fix-nested-workspace.ps1 -DryRun:$false

脚本位置

  • E:\.openclaw\workspace\scripts\detect-nested-workspace.ps1
  • E:\.openclaw\workspace\scripts\validate-workspace.ps1
  • E:\.openclaw\workspace\scripts\fix-nested-workspace.ps1

注意事项

  • 修复前建议先运行演练模式
  • 确保配置文件有备份
  • 修复后需要重启OpenClaw Gateway

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

workspace-backup-github

Backup AI Agent workspace to GitHub - One-click backup for OpenClaw, Claude Code, Cursor, and other AI Agent workspaces to a private GitHub repository. Suppo...

Registry SourceRecently Updated
420Profile unavailable
Automation

OpenClaw Health Guardian

Monitors OpenClaw Gateway on macOS, auto-restarts on failure with 180s cooldown and max 5 restarts/hour to prevent restart loops.

Registry SourceRecently Updated
160Profile unavailable
Automation

Agent Memory Persistent Workspace Memory System

Stop your AI agent from forgetting everything between sessions. Three-tier memory architecture (long-term owner namespace / daily logs / session handoff), cr...

Registry SourceRecently Updated
930Profile unavailable
Security

Claw Soul Backup

Store encrypted OpenClaw workspace backups and restore them via token-secured API using claw-vault.com with local encryption and credential management.

Registry SourceRecently Updated
2200Profile unavailable