install
source · Clone the upstream repo
git clone https://github.com/jmagly/aiwg
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/research-cite" ~/.claude/skills/jmagly-aiwg-research-cite && rm -rf "$T"
manifest:
.agents/skills/research-cite/SKILL.mdsource content
Research Cite Command
Generate a properly formatted, policy-compliant citation from the research corpus.
Instructions
When invoked, generate a correct citation:
-
Locate Source
- Search
and.aiwg/research/sources/
for the specified reference.aiwg/research/findings/ - Match by REF-XXX identifier, author name, or keyword
- If multiple matches, present options for user selection
- Search
-
Load Metadata
- Extract frontmatter: ref_id, title, authors, year, DOI, source_type
- Load quality assessment if available
- Determine GRADE level
-
Generate Citation
- Format @-mention citation with full path
- Include page numbers if specified
- Apply GRADE-appropriate hedging language
- Include quality level annotation
-
Output Formats
- Ready to paste into markdowninline
- BibTeX formatbibtex
- Full reference section entryreference
Arguments
- REF-XXX identifier or search keyword (required)[ref-id or keyword]
- Output format (default: inline)--format [inline|bibtex|reference]
- Include page reference--page [n]
- Include direct quote--quote "[text]"
Example
/research-cite REF-020 --page 4 Output: According to @.aiwg/research/findings/REF-020-tree-of-thoughts.md (p. 4), Tree of Thoughts enables "deliberate decision making" through systematic exploration of reasoning paths. GRADE: HIGH (peer-reviewed conference, NeurIPS 2023) Hedging: "demonstrates" / "shows" appropriate for HIGH quality evidence
References
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/citation-policy.md - Citation enforcement rules
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/research/frontmatter-schema.yaml - Source metadata
- @.aiwg/research/docs/grade-assessment-guide.md - GRADE levels