← 返回 Skills 市场
126
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install keyword-velocity-tracker
功能描述
Calculate literature growth velocity and acceleration to assess research.
使用说明 (SKILL.md)
\r
Skill: Keyword Velocity Tracker\r
\r
When to Use\r
\r
- Use this skill when the task needs Calculate literature growth velocity and acceleration to assess research.\r
- Use this skill for evidence insight 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: Calculate literature growth velocity and acceleration to assess research.\r
- Packaged executable path(s):
scripts/main.py.\r - Reference material available in
references/for task-specific guidance.\r - Structured execution path designed to keep outputs consistent and reviewable.\r \r
Dependencies\r
\r
- Python >= 3.8\r
- numpy\r
- scipy\r \r
Example Usage\r
\r
cd "20260318/scientific-skills/Evidence Insight/keyword-velocity-tracker"\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
- Reference guidance: `references/` contains supporting rules, prompts, or checklists.\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
## Metadata\r
- **ID**: 201\r
- **Name**: Keyword Velocity Tracker\r
- **Type**: Analysis Tool\r
- **Version**: 1.0.0\r
\r
## Description\r
Calculate the literature growth rate and acceleration of specific keywords to determine the development stage of academic research fields. By analyzing changes in literature volume over different time periods, provide field popularity trends and lifecycle analysis.\r
\r
## Functions\r
\r
### Core Functions\r
1. **Literature Growth Rate Calculation** - Calculate keyword literature growth rate over different time periods\r
2. **Growth Acceleration Analysis** - Identify trends of literature growth acceleration or deceleration\r
3. **Field Development Stage Judgment** - Determine field stage based on growth curve characteristics\r
4. **Trend Prediction** - Predict future development trends based on historical data\r
\r
### Stage Judgment Criteria\r
- **Embryonic Stage**: Low base, slow growth\r
- **Growth Stage**: Growth rate continues to rise (acceleration is positive)\r
- **Mature Stage**: Growth rate is stable or declining\r
- **Decline Stage**: Growth rate is negative\r
\r
## Input\r
\r
### Required Parameters\r
| Parameter | Type | Description |\r
|------|------|------|\r
| `keyword` | string | Keyword to analyze |\r
| `data` | array | Time series literature data, format: `[{"year": 2020, "count": 100}, ...]` |\r
\r
### Optional Parameters\r
| Parameter | Type | Default | Description |\r
|------|------|--------|------|\r
| `time_window` | int | 3 | Time window for calculating growth rate (years) |\r
| `smoothing` | boolean | true | Whether to smooth the data |\r
| `predict_years` | int | 3 | Number of future years to predict |\r
\r
## Output\r
\r
### Return Value\r
```json\r
{\r
"keyword": "artificial intelligence",\r
"analysis_period": {"start": 2015, "end": 2023},\r
"current_velocity": 0.35,\r
"current_acceleration": -0.05,\r
"stage": "mature",\r
"stage_confidence": 0.85,\r
"trend": "stable",\r
"velocity_series": [\r
{"year": 2016, "velocity": 0.20, "acceleration": null},\r
{"year": 2017, "velocity": 0.25, "acceleration": 0.05},\r
...\r
],\r
"prediction": {\r
"2024": {"estimated_count": 1850, "confidence": 0.80},\r
"2025": {"estimated_count": 1980, "confidence": 0.70},\r
"2026": {"estimated_count": 2100, "confidence": 0.60}\r
},\r
"insights": [\r
"Field has entered mature stage, growth slowing",\r
"Recent slight deceleration trend, needs attention"\r
]\r
}\r
```\r
\r
### Stage Definitions\r
- `current_velocity`: Current annual growth rate (0-1)\r
- `current_acceleration`: Current acceleration (growth rate change rate)\r
- `stage`: Field development stage (embryonic/growth/mature/decline)\r
- `stage_confidence`: Stage judgment confidence (0-1)\r
- `trend`: Trend direction (growth/stable/decline)\r
\r
## Usage Examples\r
\r
### Command Line\r
```text\r
python scripts/main.py --keyword "artificial intelligence" --data-file data.json\r
```\r
\r
### Python API\r
```python\r
from skills.keyword_velocity_tracker.scripts.main import KeywordVelocityTracker\r
\r
tracker = KeywordVelocityTracker()\r
result = tracker.analyze(\r
keyword="artificial intelligence",\r
data=[\r
{"year": 2019, "count": 500},\r
{"year": 2020, "count": 650},\r
{"year": 2021, "count": 900},\r
{"year": 2022, "count": 1100},\r
{"year": 2023, "count": 1250}\r
]\r
)\r
```\r
\r
## Configuration\r
\r
### Environment Variables\r
| Variable | Description | Default |\r
|------|------|--------|\r
| `KVT_SMOOTHING_FACTOR` | Smoothing coefficient | 0.3 |\r
| `KVT_MIN_CONFIDENCE` | Minimum confidence threshold | 0.7 |\r
\r
## Algorithm Description\r
\r
### Growth Rate Calculation\r
```\r
velocity(t) = (count(t) - count(t-1)) / count(t-1)\r
```\r
\r
### Acceleration Calculation\r
```\r
acceleration(t) = velocity(t) - velocity(t-1)\r
```\r
\r
### Stage Judgment Logic\r
1. Average growth rate in last 3 years \x3C 0.1 → Embryonic/Decline stage\r
2. Acceleration > 0 and growth rate > 0.2 → Growth stage\r
3. Growth rate stable (fluctuation \x3C 0.1) → Mature stage\r
4. Growth rate \x3C 0 → Decline stage\r
\r
## Version History\r
- 1.0.0 (2024-02-06): Initial version, basic growth rate and acceleration calculation\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
```text\r
\r
# Python dependencies\r
pip install -r requirements.txt\r
```\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 `keyword-velocity-tracker` 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
> `keyword-velocity-tracker` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\r
\r
## References\r
\r
- [references/audit-reference.md](references/audit-reference.md) - Supported scope, audit commands, and fallback boundaries\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 package appears coherent and local-only: review scripts/main.py yourself (it is included) and run python -m py_compile scripts/main.py to verify. Note the small mismatch between SKILL.md (mentions scipy) and requirements.txt; install numpy (and scipy if you plan to use smoothing/advanced math) in a sandbox environment. Before running on sensitive systems, run the script on sample data to confirm output and check for any unexpected file writes or network calls (there are no obvious network calls in the visible code). If you need stronger assurance, run the script in an isolated container and inspect/grep the source for os, subprocess, socket, requests, or similar imports first.
功能分析
Type: OpenClaw Skill
Name: keyword-velocity-tracker
Version: 1.0.0
The keyword-velocity-tracker skill is a legitimate analytical tool designed to calculate growth rates and trends in academic literature. The core logic in `scripts/main.py` uses standard libraries (NumPy) to perform mathematical modeling and forecasting without any high-risk behaviors such as network requests, shell execution, or unauthorized file access. The accompanying documentation and audit results (`keyword-velocity-tracker_audit_result_v2.json`) are consistent with the code's stated purpose and do not contain any evidence of prompt injection or malicious intent.
能力评估
Purpose & Capability
Name/description (calculate literature growth velocity/acceleration) matches the included Python implementation (scripts/main.py) and the SKILL.md usage. Requested libraries (numpy, scipy) are appropriate for numerical analysis. Minor inconsistency: SKILL.md mentions scipy but requirements.txt omits it and includes stdlib modules (dataclasses, enum) unnecessarily.
Instruction Scope
SKILL.md instructs the agent to validate inputs, run the packaged script, and produce bounded outputs. The instructions only reference running the local script and editing an in-file CONFIG block; they do not ask the agent to read unrelated system files, access external endpoints, or exfiltrate secrets.
Install Mechanism
No install spec is present (instruction-only with an included script). This minimizes install-time risk — execution is local Python. The included files are visible so there is no hidden download-from-URL behavior.
Credentials
No environment variables, credentials, or config paths are required. The skill does not request unrelated secrets or cloud credentials.
Persistence & Privilege
Skill does not request always:true and does not declare modifications to other skills or system-wide configuration. Autonomous invocation is allowed by platform default but is not combined with elevated privileges or credential access.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install keyword-velocity-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/keyword-velocity-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Keyword Velocity Tracker skill.
- Calculates literature growth velocity and acceleration for specified keywords to assess research field development.
- Determines research stage (embryonic, growth, mature, decline) using defined criteria based on historical data.
- Provides structured output with growth rates, acceleration, stage confidence, trend analysis, and future predictions.
- Includes reproducible, scope-focused workflow with explicit input validation and fallback paths for incomplete data.
- Command-line usage and Python API available; detailed configuration and risk assessment included.
元数据
常见问题
Keyword Velocity Tracker 是什么?
Calculate literature growth velocity and acceleration to assess research. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 126 次。
如何安装 Keyword Velocity Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install keyword-velocity-tracker」即可一键安装,无需额外配置。
Keyword Velocity Tracker 是免费的吗?
是的,Keyword Velocity Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Keyword Velocity Tracker 支持哪些平台?
Keyword Velocity Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Keyword Velocity Tracker?
由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。
推荐 Skills