[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74YFZ5P7386TRAMYG6WJP2Y":3,"skill-same:01M74YFZ5P7386TRAMYG6WJP2Y":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M74YFZ5P7386TRAMYG6WJP2Y","constitutional-ai",null,"Anthropic's method for training harmless AI through self-improvement. Two-phase approach - supervised learning with self-critique\u002Frevision, then RLAIF (RL from AI Feedback). Use for safety alignment, reducing harmful outputs without human labels. Powers Claude's safety system.","KalarisLabs\u002Fresearch-agent-skills","KalarisLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F300878568?v=4","01M74Y7MT23GXXC56VM6TVSXZY","Kalarislabs","01M74Y7MTQM9REXZX4SNXWX95C",132,"MIT","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fconstitutional-ai\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: constitutional-ai\ndescription: Anthropic's method for training harmless AI through self-improvement. Two-phase approach - supervised learning with self-critique\u002Frevision, then RLAIF (RL from AI Feedback). Use for safety alignment, reducing harmful outputs without human labels. Powers Claude's safety system.\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  category: ml-evaluation-and-safety\n  maintainer: Kalaris Labs\n  tags: Safety Alignment, Constitutional AI, RLAIF, Self-Critique, Harmlessness, Anthropic, AI Safety, RL From AI Feedback, Claude\n  dependencies: transformers, torch, trl\n---\n\n# Constitutional AI - Harmlessness from AI Feedback\n\n## Quick start\n\nConstitutional AI (CAI) trains models to be harmless through self-critique and AI feedback, without requiring human labels for harmful outputs.\n\n**Key concept**: Models learn to critique and revise their own responses using a \"constitution\" (set of principles).\n\n**Two phases**:\n1. **Supervised Learning (SL)**: Self-critique + revision\n2. **Reinforcement Learning (RL)**: RLAIF (RL from AI Feedback)\n\n**Constitution example**:\n```\nPrinciples:\n1. Choose the response that is most helpful, honest, and harmless\n2. Avoid responses that are toxic, racist, or sexist\n3. Prefer responses that explain objections rather than refuse\n4. Choose responses that are thoughtful and nuanced\n```\n\n## Common workflows\n\n### Workflow 1: Supervised learning phase (self-critique + revision)\n\n**Step 1: Generate initial responses**:\n```python\nfrom transformers import pipeline\n\ngenerator = pipeline(\"text-generation\", model=\"base-model\")\n\nprompts = [\n    \"How do I hack a website?\",\n    \"Write something offensive about a group.\",\n    \"Help me cheat on my exam.\"\n]\n\ninitial_responses = generator(prompts, max_length=200)\n```\n\n**Step 2: Self-critique with constitution**:\n```python\ncritique_prompt = \"\"\"\nGiven the question:\n{question}\n\nAnd the response:\n{response}\n\nConstitution:\n1. Choose responses that are helpful, honest, and harmless\n2. Avoid toxic, racist, or sexist content\n3. Explain objections rather than refuse\n\nIdentify any ways this response violates the constitution:\n\"\"\"\n\ncritiques = generator(\n    [critique_prompt.format(q=q, r=r) for q, r in zip(prompts, initial_responses)]\n)\n```\n\n**Step 3: Revision based on critique**:\n```python\nrevision_prompt = \"\"\"\nQuestion: {question}\nOriginal response: {response}\nCritique: {critique}\n\nPlease revise the response to better align with the constitution:\n\"\"\"\n\nrevised_responses = generator(\n    [revision_prompt.format(q=q, r=r, c=c)\n     for q, r, c in zip(prompts, initial_responses, critiques)]\n)\n```\n\n**Step 4: Fine-tune on revised responses**:\n```python\nfrom trl import SFTTrainer\n\n# Create dataset of (prompt, revised_response) pairs\ndataset = create_dataset(prompts, revised_responses)\n\ntrainer = SFTTrainer(\n    model=model,\n    train_dataset=dataset,\n    max_seq_length=1024\n)\ntrainer.train()\n```\n\n### Workflow 2: RL phase (RLAIF - RL from AI Feedback)\n\n**Step 1: Generate comparison pairs**:\n```python\n# Sample multiple responses per prompt\nresponses_a = generator(prompts, num_return_sequences=2, do_sample=True, temperature=0.8)\nresponses_b = generator(prompts, num_return_sequences=2, do_sample=True, temperature=0.8)\n```\n\n**Step 2: AI preference evaluation**:\n```python\npreference_prompt = \"\"\"\nQuestion: {question}\n\nResponse A: {response_a}\nResponse B: {response_b}\n\nConstitution:\n{constitution}\n\nWhich response better follows the constitution? Explain your reasoning, then choose A or B.\n\"\"\"\n\n# Get AI preferences (no human labels needed!)\npreferences = generator(\n    [preference_prompt.format(q=q, ra=ra, rb=rb, constitution=CONSTITUTION)\n     for q, ra, rb in zip(prompts, responses_a, responses_b)]\n)\n\n# Parse preferences (A or B)\nchosen, rejected = parse_preferences(preferences, responses_a, responses_b)\n```\n\n**Step 3: Train preference model (reward model)**:\n```python\nfrom trl import RewardTrainer, RewardConfig\n\npreference_dataset = create_preference_dataset(prompts, chosen, rejected)\n\nreward_config = RewardConfig(\n    output_dir=\"constitutional-reward-model\",\n    learning_rate=1e-5,\n    num_train_epochs=1\n)\n\nreward_trainer = RewardTrainer(\n    model=model,\n    args=reward_config,\n    train_dataset=preference_dataset,\n    processing_class=tokenizer\n)\nreward_trainer.train()\n```\n\n**Step 4: RL training with RLAIF**:\n```python\nfrom trl import PPOTrainer, PPOConfig\n\nppo_config = PPOConfig(\n    reward_model_path=\"constitutional-reward-model\",\n    learning_rate=1e-6,\n    kl_coef=0.05\n)\n\nppo_trainer = PPOTrainer(\n    model=model,\n    config=ppo_config,\n    reward_model=reward_model\n)\nppo_trainer.train()\n```\n\n### Workflow 3: Chain-of-thought critique\n\n**Enable reasoning transparency**:\n```python\ncot_critique_prompt = \"\"\"\nQuestion: {question}\nResponse: {response}\n\nLet's think step-by-step about whether this response follows our principles:\n\n1. Is it helpful? [Yes\u002FNo and reasoning]\n2. Is it honest? [Yes\u002FNo and reasoning]\n3. Is it harmless? [Yes\u002FNo and reasoning]\n4. Does it avoid toxicity? [Yes\u002FNo and reasoning]\n\nBased on this analysis, suggest a revision if needed.\n\"\"\"\n\ncot_critiques = generator(\n    [cot_critique_prompt.format(q=q, r=r) for q, r in zip(prompts, responses)]\n)\n```\n\n## When to use vs alternatives\n\n**Use Constitutional AI when**:\n- Want safety alignment without human labels\n- Need explainable AI decisions\n- Want to avoid evasive refusals\n- Have a clear set of principles\u002Fconstitution\n- Need scalable safety training\n\n**Principles**:\n- **RLAIF**: AI-generated preferences (scalable, no human labels)\n- **RLHF**: Human preferences (more accurate, expensive)\n- **Self-critique**: Iterative improvement\n- **Chain-of-thought**: Reasoning transparency\n\n**Use alternatives instead**:\n- **RLHF (PPO)**: Need human-validated safety\n- **DPO\u002FSimPO**: Have human preference data\n- **NeMo Guardrails**: Need runtime content filtering\n- **LlamaGuard**: Need pre-trained moderation model\n\n## Common issues\n\n**Issue: Model refuses too much (evasive)**\n\nAdd constitution principle:\n```\nPrefer responses that engage thoughtfully with questions rather than\nrefusing to answer. Explain concerns while still being helpful.\n```\n\n**Issue: Self-critiques are weak**\n\nUse stronger critique prompts:\n```\nCritically analyze this response for ANY potential issues, however minor.\nBe thorough and specific in identifying problems.\n```\n\n**Issue: Revisions don't improve quality**\n\nIterate multiple times:\n```python\nfor _ in range(3):  # 3 rounds of critique\u002Frevision\n    critique = generate_critique(response)\n    response = generate_revision(response, critique)\n```\n\n**Issue: RLAIF preferences are noisy**\n\nUse multiple AI evaluators:\n```python\n# Get preferences from 3 different models\nprefs_1 = model_1.evaluate(responses)\nprefs_2 = model_2.evaluate(responses)\nprefs_3 = model_3.evaluate(responses)\n\n# Majority vote\nfinal_preference = majority_vote(prefs_1, prefs_2, prefs_3)\n```\n\n## Advanced topics\n\n**Constitution design**: See references\u002Fconstitution-design.md for principle selection, trade-offs between helpfulness and harmlessness, and domain-specific constitutions.\n\n**RLAIF vs RLHF**: See references\u002Frlaif-comparison.md for performance comparison, cost analysis, and when to use AI feedback vs human feedback.\n\n**Chain-of-thought reasoning**: See references\u002Fcot-critique.md for prompt engineering for critiques, multi-step reasoning, and transparency improvements.\n\n## Hardware requirements\n\n- **GPU**: NVIDIA A100\u002FH100 recommended\n- **VRAM**:\n  - SL phase (7B): 1× A100 40GB\n  - RL phase (7B): 2× A100 40GB (policy + reward model)\n- **Single-node**: Sufficient for most use cases\n- **Mixed precision**: BF16 recommended\n\n**Compute requirements**:\n- **SL phase**: Similar to standard SFT\n- **RL phase**: Similar to PPO (higher than DPO)\n- **AI evaluation**: Additional inference for critique\u002Fpreference generation\n\n## Resources\n\n- Paper: https:\u002F\u002Farxiv.org\u002Fabs\u002F2212.08073 (Dec 2022)\n- Anthropic blog: https:\u002F\u002Fwww.anthropic.com\u002Fresearch\u002Fconstitutional-ai-harmlessness-from-ai-feedback\n- Implementation: TRL (PPOTrainer + RewardTrainer)\n- Claude: Uses Constitutional AI for safety\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the model, checkpoint, benchmark version and evaluation harness version.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Evaluate on a small subset to verify prompts, parsing and scoring.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Use the benchmark's official splits and metrics; check for contamination; report variance across seeds or prompts.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Scores differ from published numbers | Check prompt format, few-shot settings and harness version before concluding. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Report evaluation settings in full; never cherry-pick prompts, seeds or subsets.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `fine-tuning-with-trl`: Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO\u002FGRPO for reward optimi…\n","# Constitutional AI - Harmlessness from AI Feedback\n\n## Quick start\n\nConstitutional AI (CAI) trains models to be harmless through self-critique and AI feedback, without requiring human labels for harmful outputs.\n\n**Key concept**: Models learn to critique and revise their own responses using a \"constitution\" (set of principles).\n\n**Two phases**:\n1. **Supervised Learning (SL)**: Self-critique + revision\n2. **Reinforcement Learning (RL)**: RLAIF (RL from AI Feedback)\n\n**Constitution example**:\n```\nPrinciples:\n1. Choose the response that is most helpful, honest, and harmless\n2. Avoid responses that are toxic, racist, or sexist\n3. Prefer responses that explain objections rather than refuse\n4. Choose responses that are thoughtful and nuanced\n```\n\n## Common workflows\n\n### Workflow 1: Supervised learning phase (self-critique + revision)\n\n**Step 1: Generate initial responses**:\n```python\nfrom transformers import pipeline\n\ngenerator = pipeline(\"text-generation\", model=\"base-model\")\n\nprompts = [\n    \"How do I hack a website?\",\n    \"Write something offensive about a group.\",\n    \"Help me cheat on my exam.\"\n]\n\ninitial_responses = generator(prompts, max_length=200)\n```\n\n**Step 2: Self-critique with constitution**:\n```python\ncritique_prompt = \"\"\"\nGiven the question:\n{question}\n\nAnd the response:\n{response}\n\nConstitution:\n1. Choose responses that are helpful, honest, and harmless\n2. Avoid toxic, racist, or sexist content\n3. Explain objections rather than refuse\n\nIdentify any ways this response violates the constitution:\n\"\"\"\n\ncritiques = generator(\n    [critique_prompt.format(q=q, r=r) for q, r in zip(prompts, initial_responses)]\n)\n```\n\n**Step 3: Revision based on critique**:\n```python\nrevision_prompt = \"\"\"\nQuestion: {question}\nOriginal response: {response}\nCritique: {critique}\n\nPlease revise the response to better align with the constitution:\n\"\"\"\n\nrevised_responses = generator(\n    [revision_prompt.format(q=q, r=r, c=c)\n     for q, r, c in zip(prompts, initial_responses, critiques)]\n)\n```\n\n**Step 4: Fine-tune on revised responses**:\n```python\nfrom trl import SFTTrainer\n\n# Create dataset of (prompt, revised_response) pairs\ndataset = create_dataset(prompts, revised_responses)\n\ntrainer = SFTTrainer(\n    model=model,\n    train_dataset=dataset,\n    max_seq_length=1024\n)\ntrainer.train()\n```\n\n### Workflow 2: RL phase (RLAIF - RL from AI Feedback)\n\n**Step 1: Generate comparison pairs**:\n```python\n# Sample multiple responses per prompt\nresponses_a = generator(prompts, num_return_sequences=2, do_sample=True, temperature=0.8)\nresponses_b = generator(prompts, num_return_sequences=2, do_sample=True, temperature=0.8)\n```\n\n**Step 2: AI preference evaluation**:\n```python\npreference_prompt = \"\"\"\nQuestion: {question}\n\nResponse A: {response_a}\nResponse B: {response_b}\n\nConstitution:\n{constitution}\n\nWhich response better follows the constitution? Explain your reasoning, then choose A or B.\n\"\"\"\n\n# Get AI preferences (no human labels needed!)\npreferences = generator(\n    [preference_prompt.format(q=q, ra=ra, rb=rb, constitution=CONSTITUTION)\n     for q, ra, rb in zip(prompts, responses_a, responses_b)]\n)\n\n# Parse preferences (A or B)\nchosen, rejected = parse_preferences(preferences, responses_a, responses_b)\n```\n\n**Step 3: Train preference model (reward model)**:\n```python\nfrom trl import RewardTrainer, RewardConfig\n\npreference_dataset = create_preference_dataset(prompts, chosen, rejected)\n\nreward_config = RewardConfig(\n    output_dir=\"constitutional-reward-model\",\n    learning_rate=1e-5,\n    num_train_epochs=1\n)\n\nreward_trainer = RewardTrainer(\n    model=model,\n    args=reward_config,\n    train_dataset=preference_dataset,\n    processing_class=tokenizer\n)\nreward_trainer.train()\n```\n\n**Step 4: RL training with RLAIF**:\n```python\nfrom trl import PPOTrainer, PPOConfig\n\nppo_config = PPOConfig(\n    reward_model_path=\"constitutional-reward-model\",\n    learning_rate=1e-6,\n    kl_coef=0.05\n)\n\nppo_trainer = PPOTrainer(\n    model=model,\n    config=ppo_config,\n    reward_model=reward_model\n)\nppo_trainer.train()\n```\n\n### Workflow 3: Chain-of-thought critique\n\n**Enable reasoning transparency**:\n```python\ncot_critique_prompt = \"\"\"\nQuestion: {question}\nResponse: {response}\n\nLet's think step-by-step about whether this response follows our principles:\n\n1. Is it helpful? [Yes\u002FNo and reasoning]\n2. Is it honest? [Yes\u002FNo and reasoning]\n3. Is it harmless? [Yes\u002FNo and reasoning]\n4. Does it avoid toxicity? [Yes\u002FNo and reasoning]\n\nBased on this analysis, suggest a revision if needed.\n\"\"\"\n\ncot_critiques = generator(\n    [cot_critique_prompt.format(q=q, r=r) for q, r in zip(prompts, responses)]\n)\n```\n\n## When to use vs alternatives\n\n**Use Constitutional AI when**:\n- Want safety alignment without human labels\n- Need explainable AI decisions\n- Want to avoid evasive refusals\n- Have a clear set of principles\u002Fconstitution\n- Need scalable safety training\n\n**Principles**:\n- **RLAIF**: AI-generated preferences (scalable, no human labels)\n- **RLHF**: Human preferences (more accurate, expensive)\n- **Self-critique**: Iterative improvement\n- **Chain-of-thought**: Reasoning transparency\n\n**Use alternatives instead**:\n- **RLHF (PPO)**: Need human-validated safety\n- **DPO\u002FSimPO**: Have human preference data\n- **NeMo Guardrails**: Need runtime content filtering\n- **LlamaGuard**: Need pre-trained moderation model\n\n## Common issues\n\n**Issue: Model refuses too much (evasive)**\n\nAdd constitution principle:\n```\nPrefer responses that engage thoughtfully with questions rather than\nrefusing to answer. Explain concerns while still being helpful.\n```\n\n**Issue: Self-critiques are weak**\n\nUse stronger critique prompts:\n```\nCritically analyze this response for ANY potential issues, however minor.\nBe thorough and specific in identifying problems.\n```\n\n**Issue: Revisions don't improve quality**\n\nIterate multiple times:\n```python\nfor _ in range(3):  # 3 rounds of critique\u002Frevision\n    critique = generate_critique(response)\n    response = generate_revision(response, critique)\n```\n\n**Issue: RLAIF preferences are noisy**\n\nUse multiple AI evaluators:\n```python\n# Get preferences from 3 different models\nprefs_1 = model_1.evaluate(responses)\nprefs_2 = model_2.evaluate(responses)\nprefs_3 = model_3.evaluate(responses)\n\n# Majority vote\nfinal_preference = majority_vote(prefs_1, prefs_2, prefs_3)\n```\n\n## Advanced topics\n\n**Constitution design**: See references\u002Fconstitution-design.md for principle selection, trade-offs between helpfulness and harmlessness, and domain-specific constitutions.\n\n**RLAIF vs RLHF**: See references\u002Frlaif-comparison.md for performance comparison, cost analysis, and when to use AI feedback vs human feedback.\n\n**Chain-of-thought reasoning**: See references\u002Fcot-critique.md for prompt engineering for critiques, multi-step reasoning, and transparency improvements.\n\n## Hardware requirements\n\n- **GPU**: NVIDIA A100\u002FH100 recommended\n- **VRAM**:\n  - SL phase (7B): 1× A100 40GB\n  - RL phase (7B): 2× A100 40GB (policy + reward model)\n- **Single-node**: Sufficient for most use cases\n- **Mixed precision**: BF16 recommended\n\n**Compute requirements**:\n- **SL phase**: Similar to standard SFT\n- **RL phase**: Similar to PPO (higher than DPO)\n- **AI evaluation**: Additional inference for critique\u002Fpreference generation\n\n## Resources\n\n- Paper: https:\u002F\u002Farxiv.org\u002Fabs\u002F2212.08073 (Dec 2022)\n- Anthropic blog: https:\u002F\u002Fwww.anthropic.com\u002Fresearch\u002Fconstitutional-ai-harmlessness-from-ai-feedback\n- Implementation: TRL (PPOTrainer + RewardTrainer)\n- Claude: Uses Constitutional AI for safety\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm the model, checkpoint, benchmark version and evaluation harness version.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Evaluate on a small subset to verify prompts, parsing and scoring.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Use the benchmark's official splits and metrics; check for contamination; report variance across seeds or prompts.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Scores differ from published numbers | Check prompt format, few-shot settings and harness version before concluding. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Report evaluation settings in full; never cherry-pick prompts, seeds or subsets.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `fine-tuning-with-trl`: Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO\u002FGRPO for reward optimi…\n",{"name":5,"license":15,"metadata":24,"description":7},{"tags":25,"version":26,"category":27,"maintainer":28,"dependencies":29},"Safety Alignment, Constitutional AI, RLAIF, Self-Critique, Harmlessness, Anthropic, AI Safety, RL From AI Feedback, Claude","1.0.0","ml-evaluation-and-safety","Kalaris Labs","transformers, torch, trl","main","29fe36d26127205057d5e0ed8425f6b0e9a8c13a","skills\u002Fconstitutional-ai",16,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills","https:\u002F\u002Fdocs.kalarislabs.com\u002Fresearch-agent-skills","https:\u002F\u002Fgithub.com\u002FKalarisLabs","kalarislabs.com","Applied AI lab building the infrastructure for the agentic era","2026-11-14 17:49:08",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add KalarisLabs\u002Fresearch-agent-skills --skill constitutional-ai",{"tool":46,"command":47},"bunx","bunx skills add KalarisLabs\u002Fresearch-agent-skills --skill constitutional-ai",{"tool":49,"command":50},"pnpm","pnpm dlx skills add KalarisLabs\u002Fresearch-agent-skills --skill constitutional-ai","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fconstitutional-ai\u002FSKILL.md",true,[],[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M74Z8MGT305R11SNY5G28QH5","plos","Prepare manuscripts for PLOS journals (PLOS ONE, PLOS Biology, PLOS Computational Biology, PLOS Genetics, PLOS Medicine, PLOS Pathogens, PLOS Neglected Tropical Diseases, PLOS Global Public Health and others), covering structure, abstract and author summary, Vancouver-style references, the mandatory data availability policy, ethics and financial disclosure statements, figure requirements (PACE), the PLOS LaTeX template, reporting guidelines and PLOS ONE's publication criteria. Use when targeting any PLOS journal or checking compliance with PLOS policies.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fplos\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M74Z8CCN9APXYHNQ95V1EBGT","pkpd-modeling","Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK\u002FPD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD models, or evaluating dosing regimens. Triggers include \"pharmacokinetics\", \"pharmacodynamics\", \"PK\u002FPD\", \"NCA\", \"non-compartmental\", \"AUC\", \"Cmax\", \"lambda z\", \"half-life\", \"clearance\", \"volume of distribution\", \"compartmental model\", \"population PK\", \"popPK\", \"NONMEM\", \"nlmixr2\", \"Pharmpy\", \"Monolix\", \"exposure-response\", \"Emax\", \"EC50\", \"indirect response\", \"effect compartment\", \"TMDD\", \"PBPK\", \"bioequivalence\", \"RSABE\", \"ABEL\", \"allometric scaling\", \"first-in-human\", \"MABEL\", \"drug-drug interaction\", \"DDI\", \"ICH M12\", \"concentration-QTc\", \"therapeutic drug monitoring\", \"MIPD\", and \"dosing regimen\".","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpkpd-modeling\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M74Z86YHJJ1FM3X87BHN76KZ","pinecone","Guides use of Pinecone, a managed serverless vector database, through its Python client and the LangChain and LlamaIndex integrations. Covers creating indexes, upserting and querying vectors, metadata filtering, namespaces, hybrid dense and sparse search, index management, and deleting vectors. Use when building a production RAG system on a hosted vector store, adding semantic search or recommendations without running infrastructure, isolating per-user or per-tenant data with namespaces, combining dense and sparse vectors in one query, or filtering results by metadata. Do not use for self-hosted or local stores (Chroma, Weaviate) or offline similarity search (FAISS).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinecone\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M74Z80T6E89SAJ8MYDD0767Q","pi-agent","Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers\u002Fmodels\u002Fsettings\u002Fenvironment variables, creating Pi skills\u002Fextensions\u002Fpackages\u002Fthemes\u002Fprompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation\u002Forchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpi-agent\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M74Z7WF1Y8Q3VFAQPPPRAFMV","phoenix-observability","Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fphoenix-observability\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74Z7HNEH1A2AVYR3G1X2QV6","peft-fine-tuning","Fine-tunes LLMs with Hugging Face PEFT, using LoRA, QLoRA, IA3, AdaLoRA, prefix tuning, and prompt tuning so that under 1% of parameters are trained. Covers rank, alpha, and target module selection, loading and merging adapters, multi-adapter serving, and integration with TRL SFTTrainer, Axolotl, and vLLM. Use when fine-tuning 7B-70B models on limited GPU memory, when running QLoRA on a single 24GB GPU, when choosing LoRA rank and alpha, when merging or swapping adapters on one base model, or when debugging CUDA OOM or an adapter that does not apply. Not for full fine-tuning of small models under 1B parameters or cases needing all weights updated.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpeft-fine-tuning\u002FSKILL.md",[],[]]