← 返回 Skills 市场
127
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lab-budget-forecaster
功能描述
Use lab budget forecaster for data analysis workflows that need structured execution, explicit assumptions, and clear output boundaries.
使用说明 (SKILL.md)
\r
Lab Budget Forecaster\r
\r Financial runway calculator.\r \r
When to Use\r
\r
- Use this skill when the task needs Use lab budget forecaster for data analysis workflows that need structured execution, explicit assumptions, and clear output boundaries.\r
- Use this skill for data analysis tasks that require explicit assumptions, bounded scope, and a reproducible output format.\r
- Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.\r \r
Key Features\r
\r
- Scope-focused workflow aligned to: Use lab budget forecaster for data analysis workflows that need structured execution, explicit assumptions, and clear output boundaries.\r
- Packaged executable path(s):
scripts/main.py.\r - Structured execution path designed to keep outputs consistent and reviewable.\r \r
Dependencies\r
\r
See ## Prerequisites above for related details.\r
\r
Python:3.10+. Repository baseline for current packaged skills.\rThird-party packages:not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.\r \r
Example Usage\r
\r
cd "20260318/scientific-skills/Data Analytics/lab-budget-forecaster"\r
python -m py_compile scripts/main.py\r
python scripts/main.py --help\r
```\r
\r
Example run plan:\r
1. Confirm the user input, output path, and any required config values.\r
2. Edit the in-file `CONFIG` block or documented parameters if the script uses fixed settings.\r
3. Run `python scripts/main.py` with the validated inputs.\r
4. Review the generated output and return the final artifact with any assumptions called out.\r
\r
## Implementation Details\r
\r
See `## Workflow` above for related details.\r
\r
- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.\r
- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.\r
- Primary implementation surface: `scripts/main.py`.\r
- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.\r
- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.\r
\r
## Quick Check\r
\r
Use this command to verify that the packaged script entry point can be parsed before deeper execution.\r
\r
```bash\r
python -m py_compile scripts/main.py\r
```\r
\r
## Audit-Ready Commands\r
\r
Use these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.\r
\r
```bash\r
python -m py_compile scripts/main.py\r
python scripts/main.py --help\r
```\r
\r
## Workflow\r
\r
1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.\r
2. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.\r
3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.\r
4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.\r
5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.\r
\r
## Use Cases\r
- Grant management\r
- Hiring decisions\r
- Equipment purchases\r
- No-cost extension planning\r
\r
## Parameters\r
\r
| Parameter | Type | Default | Required | Description |\r
|-----------|------|---------|----------|-------------|\r
| `--current-balance` | float | - | Yes | Remaining funds in dollars |\r
| `--monthly-burn` | float | - | Yes | Monthly expenses |\r
| `--upcoming-costs` | float | 0 | No | One-time upcoming purchases |\r
| `--currency` | string | USD | No | Currency code |\r
| `--output`, `-o` | string | stdout | No | Output file path |\r
\r
## Returns\r
- Runway projection\r
- Critical date warnings\r
- Cost-cutting scenarios\r
- Bridge funding alerts\r
\r
## Example\r
$150K balance, $15K/month → 10 months runway\r
\r
## Risk Assessment\r
\r
| Risk Indicator | Assessment | Level |\r
|----------------|------------|-------|\r
| Code Execution | Python/R scripts executed locally | Medium |\r
| Network Access | No external API calls | Low |\r
| File System Access | Read input files, write output files | Medium |\r
| Instruction Tampering | Standard prompt guidelines | Low |\r
| Data Exposure | Output files saved to workspace | Low |\r
\r
## Security Checklist\r
\r
- [ ] No hardcoded credentials or API keys\r
- [ ] No unauthorized file system access (../)\r
- [ ] Output does not expose sensitive information\r
- [ ] Prompt injection protections in place\r
- [ ] Input file paths validated (no ../ traversal)\r
- [ ] Output directory restricted to workspace\r
- [ ] Script execution in sandboxed environment\r
- [ ] Error messages sanitized (no stack traces exposed)\r
- [ ] Dependencies audited\r
\r
## Prerequisites\r
\r
No additional Python packages required.\r
\r
## Evaluation Criteria\r
\r
### Success Metrics\r
- [ ] Successfully executes main functionality\r
- [ ] Output meets quality standards\r
- [ ] Handles edge cases gracefully\r
- [ ] Performance is acceptable\r
\r
### Test Cases\r
1. **Basic Functionality**: Standard input → Expected output\r
2. **Edge Case**: Invalid input → Graceful error handling\r
3. **Performance**: Large dataset → Acceptable processing time\r
\r
## Lifecycle Status\r
\r
- **Current Stage**: Draft\r
- **Next Review Date**: 2026-03-06\r
- **Known Issues**: None\r
- **Planned Improvements**: \r
- Performance optimization\r
- Additional feature support\r
\r
## Output Requirements\r
\r
Every final response should make these items explicit when they are relevant:\r
\r
- Objective or requested deliverable\r
- Inputs used and assumptions introduced\r
- Workflow or decision path\r
- Core result, recommendation, or artifact\r
- Constraints, risks, caveats, or validation needs\r
- Unresolved items and next-step checks\r
\r
## Error Handling\r
\r
- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.\r
- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.\r
- If `scripts/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.\r
- Do not fabricate files, citations, data, search results, or execution outcomes.\r
\r
## Input Validation\r
\r
This skill accepts requests that match the documented purpose of `lab-budget-forecaster` and include enough context to complete the workflow safely.\r
\r
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:\r
\r
> `lab-budget-forecaster` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\r
\r
## Response Template\r
\r
Use the following fixed structure for non-trivial requests:\r
\r
1. Objective\r
2. Inputs Received\r
3. Assumptions\r
4. Workflow\r
5. Deliverable\r
6. Risks and Limits\r
7. Next Checks\r
\r
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.\r
安全使用建议
This skill appears to be what it says: a small, local Python reporter for budget runway. Before running it: 1) inspect scripts/main.py yourself (it’s short and readable) and run python -m py_compile to confirm syntax; 2) run the script in a sandboxed environment or isolated workspace if you will process real financial data; 3) validate CSV input paths (no untrusted paths or symlinks) and avoid passing sensitive credentials (none are required); 4) be aware of a few minor implementation issues — percent_used will raise on a zero budget (division by zero), burn-rate/date math can produce unexpected results if expense dates precede the start date, and the depletion prediction uses datetime.now() rather than the grant end date — consider these if you need strict correctness; and 5) if you rely on this in production, add input validation, pin Python/dependency versions, and add tests for edge cases. Overall there are no signs of network exfiltration, secret access, or unexpected elevated privileges.
功能分析
Type: OpenClaw Skill
Name: lab-budget-forecaster
Version: 1.0.0
The skill is a straightforward financial forecasting tool designed to calculate budget depletion dates. The Python script (scripts/main.py) contains standard logic for processing expenses and lacks any high-risk capabilities such as network access, shell execution, or sensitive data exfiltration. While the documentation (SKILL.md) contains some repetitive phrasing and minor parameter discrepancies compared to the script's argparse configuration, there is no evidence of malicious intent or prompt injection. The inclusion of a detailed audit report (lab-budget-forecaster_audit_result_v2.json) further suggests a focus on quality and transparency.
能力评估
Purpose & Capability
Name/description match the packaged artifact (scripts/main.py). No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md directs local execution (py_compile and running scripts/main.py) and to validate inputs; it mentions editing an in-file "CONFIG" block that does not exist in the provided code — a minor documentation mismatch but not a security concern. The instructions do not ask to read unrelated files, call external endpoints, or access secrets.
Install Mechanism
No install spec included (instruction-only). The runtime uses only standard Python libraries; nothing is downloaded or written to disk beyond normal script execution.
Credentials
No environment variables, credentials, or external service tokens are requested or required.
Persistence & Privilege
Skill is not always-enabled and does not request persistent/global agent privileges or modify other skills' configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lab-budget-forecaster - 安装完成后,直接呼叫该 Skill 的名称或使用
/lab-budget-forecaster触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of lab-budget-forecaster
- Provides a financial runway calculator for lab budget management.
- Supports structured execution with explicit assumptions and clear output boundaries.
- Accepts key inputs: current balance, monthly burn, upcoming costs, currency, and output path.
- Returns runway projections, warnings, cost-cutting scenarios, and alerts.
- Includes thorough documentation, example usage, risk assessment, and robust error handling guidelines.
- No external dependencies; designed for audit-ready and reproducible workflows.
元数据
常见问题
Lab Budget Forecaster 是什么?
Use lab budget forecaster for data analysis workflows that need structured execution, explicit assumptions, and clear output boundaries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 127 次。
如何安装 Lab Budget Forecaster?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lab-budget-forecaster」即可一键安装,无需额外配置。
Lab Budget Forecaster 是免费的吗?
是的,Lab Budget Forecaster 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Lab Budget Forecaster 支持哪些平台?
Lab Budget Forecaster 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Lab Budget Forecaster?
由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。
推荐 Skills