← 返回 Skills 市场
aipoch-ai

Authorship CRediT Gen

作者 AIpoch · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
106
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install authorship-credit-gen-1
功能描述
Use when determining author order on research manuscripts, assigning CRediT contributor roles for transparency, documenting individual contributions to colla...
使用说明 (SKILL.md)

\r

Research Authorship and Contributor Credit Generator\r

\r

When to Use\r

\r

  • Use this skill when the task needs Use when determining author order on research manuscripts, assigning CRediT contributor roles for transparency, documenting individual contributions to collaborative projects, or resolving authorship disputes in multi-institutional research. Generates fair and transparent authorship assignments following ICMJE guidelines and CRediT taxonomy. Helps research teams document contributions, resolve disputes, and ensure equitable credit distribution in academic publications.\r
  • Use this skill for academic writing 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 when determining author order on research manuscripts, assigning CRediT contributor roles for transparency, documenting individual contributions to collaborative projects, or resolving authorship disputes in multi-institutional research. Generates fair and transparent authorship assignments following ICMJE guidelines and CRediT taxonomy. Helps research teams document contributions, resolve disputes, and ensure equitable credit distribution in academic publications.\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.10+. Repository baseline for current packaged skills.\r
  • dataclasses: unspecified. Declared in requirements.txt.\r \r

Example Usage\r

\r

cd "20260318/scientific-skills/Academic Writing/authorship-credit-gen"\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
## When to Use This Skill\r
\r
- determining author order on research manuscripts\r
- assigning CRediT contributor roles for transparency\r
- documenting individual contributions to collaborative projects\r
- resolving authorship disputes in multi-institutional research\r
- preparing contributor statements for journal submissions\r
- evaluating contribution equity in research teams\r
\r
## Quick Start\r
\r
```python\r
from scripts.main import AuthorshipCreditGen\r
\r
# Initialize the tool\r
tool = AuthorshipCreditGen()\r
\r
from scripts.authorship_credit import AuthorshipCreditGenerator\r
\r
generator = AuthorshipCreditGenerator(guidelines="ICMJEv4")\r
\r
# Document contributions\r
contributions = {\r
    "Dr. Sarah Chen": [\r
        "Conceptualization",\r
        "Methodology", \r
        "Writing - Original Draft",\r
        "Supervision"\r
    ],\r
    "Dr. Michael Roberts": [\r
        "Data Curation",\r
        "Formal Analysis",\r
        "Writing - Review & Editing"\r
    ],\r
    "Dr. Lisa Zhang": [\r
        "Investigation",\r
        "Resources",\r
        "Validation"\r
    ]\r
}\r
\r
# Generate fair authorship order\r
authorship = generator.determine_order(\r
    contributions=contributions,\r
    criteria=["intellectual_input", "execution", "writing", "supervision"],\r
    weights={"intellectual_input": 0.4, "execution": 0.3, "writing": 0.2, "supervision": 0.1}\r
)\r
\r
print(f"First author: {authorship.first_author}")\r
print(f"Corresponding: {authorship.corresponding_author}")\r
print(f"Author order: {authorship.ordered_list}")\r
\r
# Generate CRediT statement\r
credit_statement = generator.generate_credit_statement(\r
    contributions=contributions,\r
    format="journal_submission"\r
)\r
\r
# Check for disputes\r
dispute_check = generator.check_equity_issues(authorship)\r
if dispute_check.has_issues:\r
    print(f"Recommendations: {dispute_check.recommendations}")\r
```\r
\r
## Core Capabilities\r
\r
### 1. Generate Fair Authorship Orders\r
\r
Analyze contributions using weighted criteria to determine equitable author ranking.\r
\r
```python\r
\r
# Define weighted contribution criteria\r
weights = {\r
    "conceptualization": 0.25,\r
    "methodology_design": 0.20,\r
    "data_collection": 0.15,\r
    "analysis": 0.15,\r
    "manuscript_writing": 0.15,\r
    "supervision": 0.10\r
}\r
\r
# Calculate contribution scores\r
scores = tool.calculate_contribution_scores(\r
    contributions=team_contributions,\r
    weights=weights\r
)\r
\r
# Generate ordered author list\r
authorship_order = tool.generate_author_order(scores)\r
print(f"Recommended order: {authorship_order}")\r
```\r
\r
### 2. Assign CRediT Roles\r
\r
Map contributions to official CRediT (Contributor Roles Taxonomy) categories.\r
\r
```python\r
\r
# Map contributions to CRediT roles\r
credit_roles = tool.assign_credit_roles(\r
    contributions=contributions,\r
    version="CRediT_2021"\r
)\r
\r
# Generate CRediT statement for journal\r
statement = tool.generate_credit_statement(\r
    roles=credit_roles,\r
    format="JATS_XML"\r
)\r
\r
# Validate role assignments\r
validation = tool.validate_credit_roles(credit_roles)\r
if validation.is_valid:\r
    print("CRediT roles properly assigned")\r
```\r
\r
### 3. Detect Contribution Inequities\r
\r
Identify potential authorship disputes before submission.\r
\r
```python\r
\r
# Analyze contribution distribution\r
equity_analysis = tool.analyze_equity(\r
    contributions=contributions,\r
    thresholds={"min_substantial": 0.15}\r
)\r
\r
# Flag potential issues\r
if equity_analysis.has_inequities:\r
    for issue in equity_analysis.issues:\r
        print(f"Warning: {issue.description}")\r
        print(f"Recommendation: {issue.recommendation}")\r
\r
# Generate equity report\r
report = tool.generate_equity_report(equity_analysis)\r
```\r
\r
### 4. Generate Journal-Ready Statements\r
\r
Create formatted contributor statements for various journal requirements.\r
\r
```python\r
\r
# Generate for Nature-style statement\r
nature_statement = tool.generate_contributor_statement(\r
    style="Nature",\r
    include_competing_interests=True\r
)\r
\r
# Generate for Science-style statement  \r
science_statement = tool.generate_contributor_statement(\r
    style="Science",\r
    include_author_contributions=True\r
)\r
\r
# Export in multiple formats\r
tool.export_statement(\r
    statement=nature_statement,\r
    formats=["docx", "pdf", "txt"]\r
)\r
```\r
\r
## Command Line Usage\r
\r
```text\r
python scripts/main.py --contributions contributions.json --guidelines ICMJE --output authorship_order.json\r
```\r
\r
## Best Practices\r
\r
- Discuss authorship expectations at project inception\r
- Document contributions continuously throughout project\r
- Review and agree on author order before submission\r
- Include non-author contributors in acknowledgments\r
\r
## Quality Checklist\r
\r
Before using this skill, ensure you have:\r
- [ ] Clear understanding of your objectives\r
- [ ] Necessary input data prepared and validated\r
- [ ] Output requirements defined\r
- [ ] Reviewed relevant documentation\r
\r
After using this skill, verify:\r
- [ ] Results meet your quality standards\r
- [ ] Outputs are properly formatted\r
- [ ] Any errors or warnings have been addressed\r
- [ ] Results are documented appropriately\r
\r
## References\r
\r
- `references/guide.md` - Comprehensive user guide\r
- `references/examples/` - Working code examples\r
- `references/api-docs/` - Complete API documentation\r
\r
---\r
\r
**Skill ID**: 766 | **Version**: 1.0 | **License**: MIT\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 `authorship-credit-gen` 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
> `authorship-credit-gen` 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 skill appears to do what it says (generate CRediT / authorship statements) and does not request credentials or install external code, but the documentation is inconsistent: SKILL.md's Quick Start references scripts.authorship_credit and an in-file CONFIG that are not present. Before using it: (1) open and review the end of scripts/main.py to confirm there are no hidden network calls or writes to unexpected locations; (2) run python -m py_compile scripts/main.py and python scripts/main.py --help in a safe environment; (3) test using the provided example_authors.json to confirm behavior; (4) be cautious with real data — author names, affiliations, and contributions are personal data (sensitive), so avoid uploading or sharing them where they could be exposed. If you plan to rely on this skill in production, ask the publisher to fix the documentation mismatch (remove/replace references to missing modules and any non-existent CONFIG guidance) and to confirm the intended public API/CLI.
能力评估
Purpose & Capability
The code (scripts/main.py) implements generation of CRediT author contribution statements in text/json/xml and matches the skill's stated purpose. However, SKILL.md/Quick Start references an additional module (scripts.authorship_credit) and class names that do not exist in the file manifest — this is a documentation/code mismatch that reduces confidence in the packaging.
Instruction Scope
Runtime instructions are limited to validating inputs and running the packaged script. They do not request environment secrets, nor do they instruct network calls or broad system file reads. Concerns: SKILL.md suggests editing an in-file CONFIG block and imports from a non-existent module; the docs also contain duplicated/repeated description text, indicating sloppy documentation that could mislead users about what the tool will do.
Install Mechanism
No install spec is provided and there are no download or external install steps. This instruction-only packaging (plus a contained script) minimizes installation risk.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The code shown does not access env vars or external credentials.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence. It does not modify other skills or system-wide settings according to the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install authorship-credit-gen-1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /authorship-credit-gen-1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Research Authorship and Contributor Credit Generator – initial release. - Implements transparent, criteria-based authorship assignment using ICMJE guidelines and CRediT taxonomy. - Assigns contributor roles, generates author order, and produces standardized CRediT statements. - Provides workflows to document individual contributions, resolve disputes, and ensure equitable credit. - Includes clear example usage, audit-ready commands, and fallback paths for incomplete inputs. - Supplies implementation details for reproducibility and reviewability in research team settings.
元数据
Slug authorship-credit-gen-1
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Authorship CRediT Gen 是什么?

Use when determining author order on research manuscripts, assigning CRediT contributor roles for transparency, documenting individual contributions to colla... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。

如何安装 Authorship CRediT Gen?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install authorship-credit-gen-1」即可一键安装,无需额外配置。

Authorship CRediT Gen 是免费的吗?

是的,Authorship CRediT Gen 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Authorship CRediT Gen 支持哪些平台?

Authorship CRediT Gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Authorship CRediT Gen?

由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。

💬 留言讨论