← Back to Skills Marketplace
106
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install authorship-credit-gen-1
Description
Use when determining author order on research manuscripts, assigning CRediT contributor roles for transparency, documenting individual contributions to colla...
README (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.\rdataclasses:unspecified. Declared inrequirements.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
Usage Guidance
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install authorship-credit-gen-1 - After installation, invoke the skill by name or use
/authorship-credit-gen-1 - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Authorship CRediT Gen?
Use when determining author order on research manuscripts, assigning CRediT contributor roles for transparency, documenting individual contributions to colla... It is an AI Agent Skill for Claude Code / OpenClaw, with 106 downloads so far.
How do I install Authorship CRediT Gen?
Run "/install authorship-credit-gen-1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Authorship CRediT Gen free?
Yes, Authorship CRediT Gen is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Authorship CRediT Gen support?
Authorship CRediT Gen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Authorship CRediT Gen?
It is built and maintained by AIpoch (@aipoch-ai); the current version is v1.0.0.
More Skills