project-safety
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "project-safety":https://skillpi.com/zh/skills/deepskill-9c301271ebf9b74d4e2993e75a5039fd6ca06863c398e3915880c99d62ec654e。安装前核对上游来源和版本:https://github.com/flonat/flonat-research。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
为研究项目安装或协调安全规则,并为数据、代码、输出和论文来源设置受保护的文件夹边界。适用于项目缺乏约束或正在迁移到受治理结构的情形;不用于对整个研究框架进行审计(审计请使用 $audit-project-research)。
介绍来源: third_party · flonat · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: project-safety
description: "Install or reconcile research-project safety rules and protected folder boundaries for data, code, outputs, and paper sources. Use when a project lacks guardrails or is being migrated into the governed structure. Not for auditing the full research scaffold; use $audit-project-research."
argument-hint: "[project-path]"Project Safety Skill
CRITICAL RULE: Never delete data or code files. Never. Use legacy/ folder for originals. Copy, don't move.
Establish safety rules and structures before Claude makes changes to research projects.
Purpose
Based on Scott Cunningham's workflow: prevent accidental data loss by establishing rules and using legacy folders before Claude reorganizes or modifies project files.
When to Use
- Starting a new research project folder
- Before asking Claude to reorganize files
- When Claude will be running code or modifying data
- Setting up a project for collaborative work
Safety Rules Template
Add this to any project's CLAUDE.md file:
## Safety Rules
1. **Never delete data files** — No .csv, .dta, .xlsx, .parquet, or any data format
2. **Never delete code files** — No .py, .R, .do, .tex, .md or scripts
3. **Use legacy/ folder** — If reorganizing, move originals to legacy/ first
4. **Copy from legacy, don't move** — Always preserve the original
### If you need to reorganize:
1. Create a legacy/ folder if it doesn't exist
2. Move ALL original files into legacy/
3. Copy (not move) needed files into new structure
4. Never modify anything in legacy/
Directory Structure
After safety setup:
project/
├── CLAUDE.md ← Safety rules + project context
├── README.md ← Project documentation
├── legacy/ ← PROTECTED: original files
│ └── [all originals]
├── code/
│ ├── R/
│ ├── python/
│ └── stata/
├── data/
│ ├── raw/ ← Copied from legacy, never modified
│ └── processed/
├── output/
│ ├── figures/
│ └── tables/
├── docs/
│ └── manuscript/
└── log/ ← Progress logs
Dry Run Pattern
Before Claude executes potentially destructive operations, ask for a preview:
"Tell me what commands you would run to reorganize this folder, but don't execute them yet."
"Show me what files would be affected by this change before you make it."
"Walk me through your plan for cleaning this data before you run any code."
When to use dry runs:
- File operations (move, delete, rename)
- Git operations (reset, clean, force push)
- Database operations
- Batch processing
- Any operation affecting multiple files
After reviewing:
- If correct: "Go ahead"
- If wrong: "Wait — don't do X, instead Y"
Workflow
- Create CLAUDE.md with safety rules
- Create legacy/ folder
- Move all originals to legacy/
- Copy needed files into new structure
- Verify legacy/ contains everything
- Proceed with project work
Prompt Template
I'm starting work on [PROJECT]. Before we do anything:
1. Create a CLAUDE.md with safety rules (never delete data/code, use legacy folder)
2. Create a legacy/ folder
3. Move all existing files into legacy/
4. Show me the proposed new directory structure before creating it
Do a dry run first — tell me what you would do before doing it.
Why This Matters
- Claude operates at speed — mistakes happen fast
- You can't always verify what Claude will do before it does it
- Version control (git, Dropbox) helps but prevention is better
- The legacy/ folder is your safety net
- Dry runs give you a chance to catch mistakes
Example Use
"Set up my new Carbon Markets project with proper safety rules. Create the CLAUDE.md, legacy folder, and recommended directory structure. Show me your plan before executing."
版本历史
-
v0.3.1
GitHub ↗
原版更新说明
`v0.3.1` is a maintenance release: sharper review agents, a trimmed skill set, and corrected install documentation. The installer and client contract are unchanged from `v0.3.0`. ## Changes - **Object-reality preflight for reviewers.** `paper-critic`, `referee2-reviewer`, `domain-reviewer`, and `reproducibility-auditor` now run a mandatory Step 0 before any correctness lens. It asks whether the object of study is named, whether the comparator is degenerate, whether any category is empty, and whether it was soundly delivered. The shared checklist lives in `skills/shared/object-reality-preflight.md`. - **Methods-description audit.** `code-paper-auditor` adds a phase that checks the paper's methods text against what the code actually does, and `review-response` re-audits empirical papers against their artifact before drafting a reply. - **Council fallback.** `council-api` now falls back to the top-ranked assessment when synthesis fails, with a regression test. - **Legacy meeting skills retired.** The seven `meetings-*` skills (`cleanup`, `debrief`, `list`, `prep`, `recap`, `search`, `weekly`) are removed. Upgrading does not delete copies installed by `v0.3.0` (they remain under `~/.claude/shared-skills/` and `~/.agents/skills/`); remove them manually if you no longer want them. - **Documentation.** The README now documents `npx flonat-research` as the primary install path, component counts and availability tables are regenerated, and references to files outside this distribution are unlinked. ## Install or update ```bash npx flonat-research --client both ``` Use `--client claude` or `--client codex` for a single-client installation, and `--check` to verify an existing install. **Full changelog:** https://github.com/flonat/flonat-research/compare/v0.3.0...v0.3.1
-
v0.3.0
GitHub ↗
原版更新说明
`v0.3.0` rebuilds flonat-research as a client-neutral academic research framework for both Claude Code and Codex. It replaces the earlier Claude-only starter-kit model with explicit installation contracts, generated client adapters, and managed local copies. ## Highlights - **Claude Code and Codex support.** Canonical, client-neutral sources generate the appropriate Claude Markdown and Codex TOML adapters, with an explicit capability matrix for client-specific features. - **Managed installer.** Install for `claude`, `codex`, or `both`; preserve unmanaged files; back up divergent managed files; and verify the installation in check mode. - **Expanded research toolkit.** The public distribution now contains 94 skills, 15 specialist agents, 18 rules, and 3 optional Claude hooks, spanning research design, evidence and citation checks, paper review, LaTeX, data analysis, reproducibility, and project handoffs. - **Portable, files-first continuity.** Handoffs and project context live in repository files, making work easier to continue across clients and machines. - **Stronger release safeguards.** Public-sync, portability, personal-detail, leak, and package-content gates protect the published distribution. ## Migration notes This is a substantial architectural update from the Claude-only, symlink-based setup in `v0.2.x`. - Existing users should follow [`docs/transitioning-to-flonat-research.md`](https://github.com/flonat/flonat-research/blob/main/docs/transitioning-to-flonat-research.md). - Use `--migrate-legacy` only after inspecting the legacy links reported by the installer. - Public and friends distributions are alternatives; do not layer them into the same managed destination. ## Install Install for both supported clients: ```bash npx flonat-research --client both ``` Use `--client claude` or `--client codex` for a single-client installation. Requirements: Node.js 18+, Python 3.11+, and [`uv`](https://docs.astral.sh/uv/). TeX is optional and required only for LaTeX workflows. **Full changelog:** https://github.com/flonat/flonat-research/compare/v0.2.1...v0.3.0
-
v0.2.1
GitHub ↗
原版更新说明
Patch release — cleans up the public starter kit. ## Fixes - **Removed 11 stale/renamed skill directories** that were shipping in 0.2.0 (e.g. old `validate-bib` → now `bib-validate`, `consolidate-memory` → `memory-cleanup`, `parse-reviews` → `synthesise-reviews`, plus the deprecated `sync-notion`). These caused duplicate/old-name skills to appear under `~/.claude/skills/` after install. - **Sync hardening:** the public-sync script now prunes orphaned skill directories (renamed/removed skills) instead of leaving them behind, so this class of drift can't recur. Public kit is now 51 skill directories (49 catalogued + the public-only `init-project` + shared modules), 15 agents, 18 rules, 9 hooks. ## Install ```bash npx flonat-research ```
-
v0.2.0
GitHub ↗
原版更新说明
Claude Code infrastructure for academic research — skills, agents, hooks, and rules for LaTeX, bibliography, proofreading, research design, and project management workflows. ## Highlights since v0.1.0 **Coverage:** 61 skills · 15 agents · 18 auto-loaded rules · 9 hooks. **New agents:** `code-review`, `blindspot`, `claim-verify`, `code-paper-auditor`, `fatal-error-check`, `gemini-research`, `codex-research`, `artifact-coherence-auditor`, `reproducibility-auditor`. **New rules:** `doi-verification`, `mark-unverified`, `no-hardcoded-results`, `python-uv`, `severity-gradient`, `latex-hygiene`, `paper-code-consistency`, `subagent-write-guard`, `spec-before-quality`, `audit-before-fix`. **New skill families:** bibliography (`bib-parse`, `bib-coverage`, `bib-filter`), LaTeX scaffolding (`latex-scaffold`, `latex-template`), document formats (`docx`, `pdf`, `xlsx`), research design (`causal-design`, `experiment-design`, `synthetic-data`), writing voice (`voice-analyzer`, `voice-editor`), and paper-book companions. **Packaging fix:** corrected the npm package name and repository URL to `flonat-research` so `npx flonat-research` resolves correctly. ## Install ```bash npx flonat-research ``` Or clone for full customisation: ```bash git clone https://github.com/flonat/claude-research.git cd claude-research ./scripts/setup.sh ```
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供研究项目安全规则模板和目录结构建议
- 适用于新项目初始化和迁移治理结构的明确场景
亮点
- description 明确界定使用边界并排除审计用途
- argument-hint 提供清晰的参数提示
亮点
- 文档结构完整,涵盖从规则到示例的全流程
- 包含 dry run 模式和 prompt template 提升可用性
亮点
- 建立 legacy/ 文件夹和 never delete 规则防止数据丢失
- dry run 机制确保用户确认后再执行操作
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。