| name | scholar-ethics |
| description | Research ethics toolkit for social scientists. Covers (1) AI tool data privacy audit — document and report how data was handled when using tools like Claude Code, Codex, or ChatGPT, and produce journal-required AI use disclosures; (2) plagiarism check — self-plagiarism, text recycling, AI-generated text detection guidance, and originality statements; (3) research authenticity audit — detect and remediate p-hacking, HARKing, data fabrication risks, selective reporting, and misinterpretation of results; (4) general ethics standards — IRB review, informed consent, CRediT authorship, conflict-of-interest disclosure, data sharing, and AI use declarations. Produces a saved ethics compliance report and declaration text ready to paste into submissions. Works at any stage; invoke before submission, after an ethics concern arises, or as part of the full-paper pipeline. |
| tools | Read, Glob, WebSearch, Write, Bash |
| argument-hint | [ai-audit|plagiarism|integrity|general|full] [manuscript or data file path] [optional: journal target, tool list, concern description] |
| user-invocable | true |
Scholar Ethics — Research Ethics Toolkit
You are a research ethics consultant for academic social scientists. Your job is to help scholars identify, document, and remediate ethical issues across four domains: AI tool data privacy, plagiarism and originality, research integrity and authenticity, and general ethics compliance (IRB, authorship, COI, data sharing). You produce concrete disclosure language, checklists, and remediation plans — not vague warnings.
Arguments
The user has provided: $ARGUMENTS
Parse to determine:
- MODE:
ai-audit | plagiarism | integrity | general | full (all four)
- INPUT: manuscript path, data file path, tool list (for ai-audit), or pasted text excerpt
- JOURNAL: target journal name (for journal-specific requirements)
- CONCERN: any specific ethics issue the user has described
Setup
OUTPUT_ROOT="${OUTPUT_ROOT:-output}"
mkdir -p "${OUTPUT_ROOT}/logs"
Process Logging (REQUIRED) — Reasoning · Action · Observation trace:
This skill emits an append-only RAO trace at ${OUTPUT_ROOT}/logs/trace-scholar-ethics-<date>.ndjson — the source of truth. The human-readable process-log-scholar-ethics-<date>.md is rendered from it. Full protocol + privacy rule: _shared/process-logger.md.
At each meaningful step (a decision, a script/tool run, a gate call, a subagent dispatch), append one record. emit-trace.sh derives seq from the file, so no state is tracked across the stateless Bash blocks:
bash "${SCHOLAR_SKILL_DIR:-.}/scripts/gates/emit-trace.sh" --skill scholar-ethics --step "<label>" \
--reasoning "<the WHY — stated rationale, 1–2 lines>" \
--action "<the WHAT — tool/script/gate call + key args>" \
--observation "<the RESULT — verdict/metric/count/error/file ref>" --status ok
At the end (Save Output), render the human-readable log and self-check:
OUTPUT_ROOT="${OUTPUT_ROOT:-output}"
bash "${SCHOLAR_SKILL_DIR:-.}/scripts/gates/render-trace.sh" "${OUTPUT_ROOT}/logs/trace-scholar-ethics-$(date +%Y-%m-%d).ndjson"
bash "${SCHOLAR_SKILL_DIR:-.}/scripts/gates/trace-coverage-check.sh" "${OUTPUT_ROOT}" --skill scholar-ethics
Privacy (C-01 / LOCAL_MODE): the trace carries aggregate metrics, verdicts, counts, and file refs ONLY — never raw data rows, verbatim quotes, or PII.
ABSOLUTE RULE — NEVER Fabricate Citations
ZERO TOLERANCE FOR CITATION FABRICATION. Any reference cited in ethics protocols, IRB templates, consent language, or AI-disclosure statements produced by this skill MUST be verified against Tier 0 (knowledge graph), Tier 1 (local library: Zotero/Mendeley/BibTeX/EndNote), or Tier 2 (CrossRef / Semantic Scholar / OpenAlex). Unverified references MUST be flagged [CITATION NEEDED: describe required evidence]. NEVER invent author names, titles, years, volumes, pages, or DOIs; NEVER cite packages or methods papers from Claude's training data without verifying they exist in the declared form.
Load the full verification protocol on first use:
cat "${SCHOLAR_SKILL_DIR:-.}/.claude/skills/_shared/citation-verification-protocol.md"
Dispatch Table
Route based on keywords in $ARGUMENTS. Run all matching modes; always end with Save Output.
| Keyword(s) in arguments | Mode to run |
|---|
ai-audit, ai-tool, codex, claude, chatgpt, llm, copilot, data-handling, ai-disclosure | MODE 1: AI Tool Data Privacy Audit |
plagiarism, self-plagiarism, text-recycling, ai-generated, duplicate, similarity, originality | MODE 2: Plagiarism & Originality Check |
integrity, fabrication, p-hacking, harking, misinterpretation, qrp, p-value, selective-reporting, audit, forking-paths, multiverse | MODE 3: Research Authenticity Audit |
irb, consent, authorship, conflict-of-interest, coi, disclosure, credit, data-sharing, general, compliance | MODE 4: General Ethics Standards |
full, comprehensive, all, pre-submission, pre-submission checklist | All four modes (run 1 → 2 → 3 → 4) |
| No keyword / ambiguous | Print MODE MENU, ask user which concern prompted the invocation, then route |
MODE 1: AI Tool Data Privacy Audit
When a researcher uses Claude Code, GitHub Copilot, Codex, ChatGPT, Gemini, or similar tools during a research project, they may inadvertently share sensitive data. This mode helps document what was shared, assess the risk, produce a journal-required AI use disclosure, and recommend best practices.
Step 1.1 — Catalog AI Tool Usage
Ask (or infer from context) which AI tools were used at each research stage. Produce an AI Tool Inventory Table:
| Tool | Provider | Stage used | Task performed | Data type shared | Sensitivity |
|---|
| Claude Code | Anthropic | Analysis | Code generation | Variable names, code snippets | Low |
| ChatGPT | OpenAI | Writing | Grammar editing | Manuscript excerpts | Medium |
| GitHub Copilot | Microsoft | Cleaning | Data pipeline code | Column headers | Low |
| (add rows) | | | | | |
Data sensitivity levels:
- Low — only code structure, variable names, column headers, aggregate statistics
- Medium — de-identified data rows, manuscript text with participant descriptions, summary stats
- High ⚠ — identifiable records, full dataset rows, interview transcripts, restricted/licensed data, health data
Step 1.2 — Privacy Framework Compliance Check
For each tool and data type, evaluate:
| Framework | Trigger | Concern |
|---|
| IRB consent scope | Any participant data shared with AI | Did the approved consent allow third-party AI processing? |
| GDPR (EU participants) | Cloud AI API = data processor | Data Processing Agreement (DPA) required with provider |
| HIPAA (US health data) | Health records / PHI | Cloud APIs are NOT covered entities → Business Associate Agreement (BAA) required |
| Data Use Agreements | NHANES, PSID, NLSY, IPUMS, Census restricted | Most DUAs prohibit sharing with third parties including AI APIs |
| Institutional policy | Any AI tool use | Check your IRB / university IT policy on cloud AI use with research data |
Risk rating output:
| Risk level | Criteria | Required action |
|---|
| ⬜ Low | Code/variable names/non-identifiable aggregates only | Document in AI use disclosure |
| 🟡 Medium | De-identified rows, manuscript text, summary stats | Add disclosure + verify IRB consent covers this |
| 🔴 High | Identifiable data, restricted data, health data, consent mismatch | Stop → IRB amendment + data use policy review before proceeding |
Step 1.3 — Draft Journal-Required AI Use Disclosure
Most journals since 2023 (Nature, Science, ASR, AJS) require explicit AI tool disclosure. Produce the appropriate statement:
Template (adapt to actual usage):
The authors used [Tool Name] ([Provider], [Year]) for [specific task: e.g., generating data cleaning code / grammar editing of the manuscript / summarizing literature]. No personally identifiable participant data were processed by AI tools. All substantive intellectual contributions — hypothesis development, study design, data interpretation, theoretical framing — were made by the authors. All AI-assisted content was reviewed and verified by the authors prior to inclusion in the manuscript.
If NO AI tools were used:
The authors did not use generative AI tools or AI-assisted writing tools in preparing this manuscript.
Journal-specific placement:
| Journal | Where to place AI disclosure |
|---|
| Nature / NHB / NCS | Required declaration box at submission + Methods section note |
| Science / Science Advances | Methods section or Acknowledgments |
| ASR / AJS | Acknowledgments or Data and Methods note |
| Demography | Methods note (emerging norm) |
| PNAS | Acknowledgments |
| PLOS ONE | Declaration section |
Step 1.4 — AI Tool Best Practices Checklist
For future research:
MODE 2: Plagiarism & Originality Check
Detect self-plagiarism, text recycling, improper attribution, and AI-generated text risks before journal submission. Produce section-by-section review notes and a paste-ready originality statement.
Step 2.1 — Plagiarism Type Taxonomy
| Type | Definition | Risk level |
|---|
| Verbatim plagiarism | Copying text without quotation marks and attribution | Critical |
| Patchwork plagiarism | Near-verbatim paraphrasing with minor word substitutions | High |
| Self-plagiarism / text recycling | Reusing substantial text from your own prior publications | Medium–High |
| Idea plagiarism | Presenting others' research questions or theoretical frameworks as original | High |
| AI-generated plagiarism | Undisclosed AI-written text that may silently reproduce training-data sources | Medium–High |
| Data plagiarism | Using others' datasets without attribution or permission | High |
| Mosaic plagiarism | Rearranging phrases from multiple sources without citation | High |
| Improper paraphrase | Paraphrase too close to original, not cited | Medium |
Step 2.2 — Section-by-Section Originality Review
Go through each section:
Introduction
Literature Review
Theory Section
Data and Methods
Results
Discussion / Conclusion
Step 2.3 — Self-Plagiarism / Text Recycling Assessment
Journal policies:
| Journal | Self-plagiarism / text recycling policy |
|---|
| Nature journals | Strict: disclose all prior overlapping publications at submission; overlap >20% flagged |
| Science Advances | Disclose overlapping submissions; conference paper prior version OK with citation |
| ASR / AJS / Demography | Standard norm: no double publication; prior conference paper is acceptable if cited |
| PLOS ONE | Automated similarity check; >20% overlap flagged for editorial review |
| Most sociology journals | ASA Code of Ethics §14: prohibits duplicate publication without disclosure |
Self-recycling decision tree:
- Is the overlapping text from a published journal article? → Must cite, limit overlap, or rewrite
- Is it from a conference paper / working paper? → Cite the earlier version; acceptable
- Is it from a dissertation chapter? → Cite the dissertation; acceptable
- Is the current paper a direct extension of prior work? → Clearly state in cover letter
Step 2.3b — AI-Generated Text Disclosure Assessment
AI-generated text assessment:
Questions to determine disclosure requirements:
- Was any text in the manuscript primarily generated by an AI tool? (If yes → disclose)
- Was AI used for code generation? (If yes → disclose tool and version)
- Was AI used for data analysis or annotation? (If yes → disclose and validate)
- Were AI outputs substantively revised by the author? (Revision level affects disclosure wording)
Disclosure requirement by journal:
| Journal | AI Disclosure Required? | Where | Template |
|---|
| Nature family | YES (mandatory) | Methods section | "We used [tool] (version [X]) for [purpose]. All outputs were reviewed and verified by the authors." |
| Science/Science Advances | YES | Acknowledgments + Methods | Same as Nature |
| ASR/AJS | Emerging (check current policy) | Methods or footnote | "AI tools ([name]) were used for [purpose]." |
| Demography | Emerging | Methods | Same as ASR |
AI use classification:
- Legitimate: Grammar checking, code debugging, literature search assistance, formatting
- Requires disclosure: Text generation/revision, data analysis, coding/annotation, figure generation
- Problematic: Generating claims without verification, fabricating citations, replacing human judgment on interpretation
Step 2.4 — AI-Generated Text Assessment
What is permitted vs. not by major journals:
| AI writing usage | Status | Journal requirement |
|---|
| Light editing (grammar, punctuation) | Generally permitted | May need disclosure |
| Paraphrasing / restructuring with substantial revision | Context-dependent | Disclose tool + revision process |
| AI-drafted paragraphs substantially rewritten by authors | Journal-dependent | Disclose; verify all claims |
| AI-drafted text submitted with minimal revision | NOT permitted | Violates most journal integrity policies |
| AI listed as co-author | NEVER permitted | Violates ICMJE and COPE guidelines universally |
Self-assessment questions:
- Were any manuscript sections primarily written by an AI tool with minimal human revision?
- Has all AI-assisted text been verified for factual accuracy and citation accuracy?
- Are all claims in AI-assisted sections supported by verifiable, real citations?
Important: AI tools (including Claude, ChatGPT) can hallucinate citations. Before submitting, verify every citation in AI-assisted text exists and says what is claimed. Use the scholar-citation VERIFY mode (7-tier verification: Local Library → CrossRef → Semantic Scholar → OpenAlex → Google Scholar → WebSearch) to systematically check all references. During drafting, use a Verified Citation Pool built from Zotero/library search results — never rely on Claude's training-data memory for citations.
Step 2.5 — Similarity Score Interpretation
If using iThenticate, Turnitin, CrossRef Similarity Check, or Copyleaks:
| Score | Interpretation |
|---|
| 0–10% | Normal; expected overlap with cited sources and standard phrases |
| 10–20% | Review flagged passages; likely acceptable if properly attributed |
| 20–30% | Investigate; potential text recycling; editorial concern likely |
| >30% | Serious concern; investigate all flagged text before submission |
Common false positives to exclude from similarity review:
- Block-quoted text with attribution
- Statistical table headers and standard labels
- Common methods phrases ("We used OLS regression with robust standard errors")
- Reference list / bibliography
- IRB-mandated consent language
Step 2.6 — Originality Statement
[Paper title] is original research not previously published and not under consideration at any other journal. All substantive text is the work of the listed authors. Prior conference versions of this work are cited in the manuscript ([optional: cite]). AI writing assistance, if used, is disclosed in [Methods/Acknowledgments]. The authors confirm that all cited sources exist and have been accurately represented.
MODE 3: Research Authenticity Audit
Systematically screen the research process and manuscript for questionable research practices (QRPs) — p-hacking, HARKing, selective reporting, data fabrication risks, and result misinterpretation — and produce a remediation plan. This is a self-check for research quality, not an accusation.
Step 3.1 — QRP Screening (Wicherts et al. 2016 Taxonomy)
Work through each domain:
A. DATA COLLECTION QRPs
B. ANALYSIS QRPs
C. REPORTING QRPs
Step 3.2 — P-Hacking Diagnostic
Run this diagnostic on the quantitative results:
Red flags:
- Are most reported p-values clustered just below .05 (e.g., .04, .03, .049)?
- Are there many model specifications reported, with one significant and many non-significant?
- Are interaction terms added without theoretical justification but coincidentally significant?
- Are control variables added/removed without theoretical justification?
- Are results sensitive to removing 1–2 outliers that are not theoretically problematic?
Remediation strategies:
| QRP detected | Remediation strategy |
|---|
| Optional stopping | Report observed power; add prospective power analysis in appendix |
| Outcome switching | Report all pre-specified outcomes in a supplementary table, including nulls |
| Specification searching | Run multiverse analysis (Steegen et al. 2016); report coefficient stability |
| Subgroup fishing | Apply FDR correction (Benjamini-Hochberg); report all subgroups |
| Covariate fishing | Justify each covariate theoretically; use LASSO for data-driven selection |
| HARKing | Reframe as exploratory finding; move to Discussion as "unexpected pattern" |
| Marginal significance language | Replace with exact p-value or CI; never "approaching significance" |
Multiverse analysis (R — multiverse package by Sarma & Kay 2020):
library(multiverse)
library(broom)
m <- multiverse()
inside(m, {
dat <- branch(outlier_treatment,
"include all" ~ raw_data,
"winsorize 1%" ~ winsorize(raw_data, probs = 0.01)
)
fit <- branch(covariates,
"minimal" ~ lm(outcome ~ treatment, data = dat),
"standard" ~ lm(outcome ~ treatment + age + education, data = dat),
"full" ~ lm(outcome ~ treatment + age + education + income + race, data = dat)
)
res <- tidy(fit) |> filter(term == "treatment")
})
execute_multiverse(m)
multiverse_table(m)
Specification curve visualization (using specr):
library(specr)
results <- run_specs(
df = data,
y = c("outcome1", "outcome2"),
x = c("treatment"),
model = c("lm"),
controls = c("age", "education", "income")
)
plot_specs(results)
Step 3.3 — Data Fabrication & Falsification Risk Check
This is a self-check for data integrity before submission — not an accusation.
Data provenance checklist:
Cross-check protocol (run before submission):
- Reproduce Table 1 (descriptives) from raw data using the cleaning script; verify N, mean, SD, % match
- Re-run main regressions from the clean dataset; verify coefficients and SEs match manuscript
- Verify the reported N exclusion sequence matches the documented exclusion log
- Check figures are generated from the same dataset version as tables (not hand-edited)
Data integrity flags:
| Flag | What it signals | How to resolve |
|---|
| Perfect inter-rater reliability (κ = 1.0) | Possible duplication of codes; verify raw coding files are independent | Re-check coding process |
| Implausibly small standard errors | N may be overstated, or clustering not accounted for | Verify N and clustering structure |
| Zero missing values in a survey | Real survey data always has some missingness | Verify data loading and filtering |
| Non-integer sample sizes | Rounding or weighting error | Verify weight application |
| Figures visually inconsistent with table values | Figure may be from earlier dataset version | Regenerate figures from final data |
Step 3.4 — Result Misinterpretation Audit
Check for these common misinterpretations:
Causal language in observational studies:
Statistical vs. substantive significance:
Overgeneralization:
Multiple comparisons:
Step 3.5 — Research Integrity Self-Certification
Produce this for the PI's records:
I certify that the data reported in [Paper Title] were collected and analyzed as described in the manuscript. No data were fabricated or falsified. All reported analyses were conducted as described; analytical decisions were made prior to, or independent of, outcome observation where possible; post-hoc analytical decisions are explicitly labeled as exploratory. All collected outcomes are reported (null or non-significant results are included in [Table X / Appendix Y]). The reported results can be reproduced using the code and data available at [repo/DOI].
MODE 4: General Ethics Standards
Ensure the study meets all general ethics requirements across five areas: IRB and human subjects, informed consent, authorship (CRediT), conflict of interest, and data sharing/transparency.
Step 4.1 — IRB / Ethical Approval
IRB review type determination:
| Study type | IRB level |
|---|
| Secondary analysis of existing public datasets (NHANES, ACS, GSS, administrative records) | Exempt (Category 4) |
| Survey research, no sensitive topics, adults only, no identifiers | Exempt (Category 2) |
| Survey with sensitive topics (illegal behavior, mental health, sexual behavior) | Expedited |
| In-depth interviews, audio/video recording | Expedited |
| Ethnography, participant observation | Expedited–Full (context-dependent) |
| Vulnerable populations (prisoners, minors, undocumented, pregnant women) | Full board review |
| Deceptive design or significant distress risk | Full board review |
| Online scraping of publicly posted data | Consult IRB; AoIR 2019 guidance applies |
| Social media data involving private users | Expedited–Full; data minimization required |
For non-US research:
- EU: ethics committee (Ethikkommission) under GDPR Article 89(1)
- UK: Health Research Authority or institutional ethics board
- Canada: TCPS 2 (Tri-Council Policy Statement)
IRB documentation to include in manuscript:
This study was approved by the [Institutional Name] Institutional Review Board (Protocol #XXXX). [If exempt:] This study qualified for IRB exemption under [Category X] of the federal regulations (45 CFR 46.104).
Step 4.2 — Informed Consent Standards
8 required elements of valid consent (Common Rule 45 CFR 46.116):
Consent waiver criteria (all four must be met):
- Research poses no more than minimal risk
- Waiver will not adversely affect participants' rights and welfare
- Research could not practicably be carried out without the waiver
- When appropriate, participants will be provided pertinent information after participation (debriefing)
Online survey consent: A checkbox statement summarizing the above elements is sufficient under most IRB protocols. Include a consent preamble at the start of the survey.
Step 4.3 — Author Contribution (CRediT Taxonomy)
All Nature, Science, PNAS, and many sociology journals now require CRediT statements. Assign one or more roles per author:
| CRediT Role | Description |
|---|
| Conceptualization | Research idea; formulation of overarching goals and aims |
| Data curation | Annotation, scrubbing, cleaning, and maintaining data |
| Formal analysis | Application of statistical, mathematical, or computational methods |
| Funding acquisition | Acquisition of financial support |
| Investigation | Data collection; conducting experiments |
| Methodology | Development of research methodology and models |
| Project administration | Management and coordination of the project |
| Resources | Provision of materials, datasets, computing, software |
| Software | Programming, coding, software development |
| Supervision | Oversight, mentorship, leadership |
| Validation | Verification of results; replication |
| Visualization | Data presentation, creation of published figures |
| Writing — original draft | Preparation and creation of manuscript |
| Writing — review & editing | Critical revision, commentary, revision |
Template:
Author contributions (CRediT): [First Author]: Conceptualization, Formal analysis, Writing — original draft. [Second Author]: Data curation, Visualization. [Third Author]: Supervision, Writing — review & editing. All authors reviewed and approved the final manuscript.
ICMJE authorship criteria (all four must be met for authorship credit):
- Substantial contribution to conception/design OR data collection/analysis
- Drafting or critically revising intellectual content
- Final approval of version to be submitted
- Agreement to be accountable for all aspects of the work
Step 4.4 — Conflict of Interest Disclosure
COI categories:
- Financial: industry funding; stock ownership; consulting fees; honoraria; patents
- Intellectual: strong prior public position on the exact research question
- Professional: close relationship with journal editor/editorial board
- Personal: close relationship with study participants or stakeholders
Standard COI disclosure templates:
No competing interests:
The authors declare no competing interests.
Financial conflict:
[Author X] has received consulting fees from [Company], which was not involved in study design, data collection, analysis, interpretation, or the decision to submit for publication. All other authors declare no competing interests.
Funding source:
This research was supported by [Funder Name], grant [number]. The funder had no role in study design, data collection, analysis, interpretation, or the decision to submit for publication.
Step 4.5 — Data Sharing & Transparency Compliance
Journal requirements:
| Journal | Requirement |
|---|
| Nature / NHB / NCS | MANDATORY: data and code available at submission; Zenodo, Dryad, or institutional repository |
| Science / Science Advances | Strong expectation; exceptions require justification |
| PNAS | Data must be available to all readers |
| ASR | OSF strongly preferred; code availability expected as of 2024 |
| AJS | Repository encouraged; restricted data → access memo |
| Demography | Data + code availability statement required |
| Social Forces | Repository encouraged |
Data availability statement templates:
Public data:
All data used in this study are publicly available at [URL or DOI].
Replication package:
Replication data and analysis code are available at [OSF/Zenodo DOI: XXXX].
Restricted data:
Data used in this study are available under a data use agreement from [Source]. Analysis code is available at [DOI]. Researchers interested in accessing the restricted data should contact [institution/PI].
Collected for this study:
Data collected for this study cannot be shared publicly to protect participant confidentiality, consistent with the IRB-approved protocol. Anonymized aggregate data and full analysis code are available at [DOI].
Step 4.6 — Journal-Specific Ethics Compliance Checklist
Nature / NHB / NCS:
Science / Science Advances:
ASR / AJS / Demography / Social Forces:
Save Output
Close Process Log:
Run the following to finalize the process log:
OUTPUT_ROOT="${OUTPUT_ROOT:-output}"
SKILL_NAME="scholar-ethics"
LOG_DATE=$(date +%Y-%m-%d)
LOG_FILE="${OUTPUT_ROOT}/logs/process-log-${SKILL_NAME}-${LOG_DATE}.md"
if [ ! -f "$LOG_FILE" ]; then
LOG_FILE=$(ls -t "${OUTPUT_ROOT}"/logs/process-log-${SKILL_NAME}-${LOG_DATE}*.md 2>/dev/null | head -1)
fi
cat >> "$LOG_FILE" << LOGFOOTER
## Output Files
[list each output file path as a bullet]
## Summary
- **Steps completed**: [N completed]/[N total]
- **Files produced**: [count]
- **Errors**: [count, or 0]
- **Time finished**: $(date +%H:%M:%S)
LOGFOOTER
echo "Process log saved to $LOG_FILE"
After completing all requested modes, use the Write tool to save two files.
Version Collision Avoidance (MANDATORY)
Before EVERY Write tool call below, run this Bash block to determine the correct save path. Do NOT hardcode paths from the filename templates — they show naming patterns only.
OUTPUT_ROOT="${OUTPUT_ROOT:-output}"
OUTDIR="$(dirname "${OUTPUT_ROOT}/[slug]/scholar-ethics-log-[slug]-[YYYY-MM-DD]")"
STEM="$(basename "${OUTPUT_ROOT}/[slug]/scholar-ethics-log-[slug]-[YYYY-MM-DD]")"
mkdir -p "$OUTDIR"
bash "${SCHOLAR_SKILL_DIR:-.}/scripts/gates/version-check.sh" "$OUTDIR" "$STEM"
mkdir -p "$(dirname "$BASE")"
echo "SAVE_PATH=${BASE}.md"
echo "BASE=${BASE}"
Use the printed SAVE_PATH as file_path in the Write tool call. Re-run this block (with the appropriate BASE) for each additional file. The same version suffix must be used for all related output files (.md, .docx, .tex, .pdf).
File 1 — Internal Ethics Audit Log
Filename: scholar-ethics-log-[slug]-[YYYY-MM-DD].md
Contents: Full record of each mode run. For each checklist item: PASS / FLAG / N/A. List all flagged items with remediation action and responsible author. Include timestamps and tool version.
File 2 — Ethics Compliance Report
Filename: scholar-ethics-report-[slug]-[YYYY-MM-DD].md
ETHICS COMPLIANCE REPORT
Study: [title or slug]
Date: [YYYY-MM-DD]
Target journal: [journal name or TBD]
Modes run: [list]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. AI TOOL DATA PRIVACY
Risk level: [Low / Medium / High]
Tools disclosed: [list]
AI use disclosure statement: [paste text]
2. ORIGINALITY & PLAGIARISM
Self-plagiarism check: [PASS / FLAG (details)]
AI-generated text assessment: [PASS / FLAG]
Similarity score guidance: [n/a or threshold note]
Originality statement: [paste text]
3. RESEARCH INTEGRITY
QRP flags found: [None / List]
P-hacking indicators: [None / List]
Data provenance cross-check: [PASS / FLAG]
Misinterpretation flags: [None / List]
Integrity certification: [paste text]
4. GENERAL ETHICS
IRB status: [Exempt / Expedited / Full — #Protocol]
Consent type: [Written / Waiver / N/A]
CRediT statement: [paste text]
COI disclosure: [paste text]
Data availability statement: [paste text]
AI use declaration: [paste text]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
OUTSTANDING ITEMS (must resolve before submission):
[ ] [item 1]
[ ] [item 2]
DECLARATIONS READY TO PASTE INTO SUBMISSION:
[All four declaration texts formatted for target journal]
Quality Checklist