Token导航 LogoToken导航

Agent Skill · 研究检索

act-r-model-builder(行为模型构建器)

act-r-model-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

act-r-model-builder 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 7,087。

总安装 19,989周安装 524GitHub Stars 18下载 6,680核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:act-r-model-builder(行为模型构建器)
来源仓库:https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills
仓库路径:skills/act-r-model-builder
安装命令:
npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills --skill 'ACT-R Model Builder'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills --skill 'ACT-R Model Builder'

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于构建 ACT-R 架构下的计算认知模型。提供分块类型定义、产生式规则编写和参数选择指导。包含模型拟合流程和验证标准的专业知识支持。act-r-model-builder 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适用于记忆检索、决策制定等认知任务建模场景。

安装前建议核实维护状态和是否涉及敏感操作权限。

来源仓库内路径:skills/act-r-model-builder

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscie…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

act-r-model-builder 怎么安装?

在终端执行 npx skills add https://github.com/haoxuanlithuai/awesome_cognitive_and_neuroscience_skills…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

act-r-model-builder 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

act-r-model-builder 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

act-r-model-builder 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

act-r-model-builder 用的人多吗?

公开数据是累计安装 19,989 次,近一周安装 524 次,下载 6,680 次,GitHub 18 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

act-r-model-builder 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
act-r-model-builder

行为模型构建器 · 本页

19,98918只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

ACT-R Model Builder

Purpose

This skill encodes expert knowledge for constructing computational cognitive models within the ACT-R (Adaptive Control of Thought -- Rational) architecture. It provides guidance on chunk type definition, production rule authoring, subsymbolic parameter selection with empirically validated defaults, model fitting workflows, and validation procedures. A general-purpose programmer would not know the architecture constraints, parameter defaults, or model validation standards without specialized cognitive modeling training.

When to Use This Skill

  • Designing a new ACT-R model for a cognitive task (memory retrieval, decision-making, skill acquisition)
  • Setting subsymbolic parameters and understanding their theoretical justification
  • Structuring chunk types and production rules for a specific experimental paradigm
  • Fitting an ACT-R model to behavioral data (RT, accuracy)
  • Validating a model via parameter recovery, cross-validation, or qualitative predictions
  • Choosing between ACT-R 7.x (Lisp) and pyactr (Python) for implementation

Research Planning Protocol

Before executing the domain-specific steps below, you MUST:

  1. State the research question -- What specific question is this analysis/paradigm addressing?
  2. Justify the method choice -- Why is this approach appropriate? What alternatives were considered?
  3. Declare expected outcomes -- What results would support vs. refute the hypothesis?
  4. Note assumptions and limitations -- What does this method assume? Where could it mislead?
  5. Present the plan to the user and WAIT for confirmation before proceeding.

For detailed methodology guidance, see the research-literacy skill.

⚠️ Verification Notice

This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please open an issue.

ACT-R Architecture Overview

ACT-R is a hybrid cognitive architecture with symbolic and subsymbolic components (Anderson, 2007; Anderson & Lebiere, 1998).

Core Modules and Buffers

ModuleBufferFunctionSource
Declarative memoryretrievalStores and retrieves chunks (facts)Anderson, 2007, Ch. 2
Procedural memory(none; fires productions)Stores production rules (skills)Anderson, 2007, Ch. 3
GoalgoalTracks current task stateAnderson, 2007, Ch. 4
ImaginalimaginalHolds intermediate problem representationsAnderson, 2007, Ch. 4
Visualvisual, visual-locationAttends to and encodes visual objectsAnderson, 2007, Ch. 6
MotormanualExecutes motor responses (keypresses)Anderson, 2007, Ch. 6
TemporaltemporalTracks time intervalsTaatgen et al., 2007

Processing Cycle

  1. Buffers hold one chunk each (the "bottleneck" assumption; Anderson, 2007, Ch. 1)
  2. Productions match against buffer contents (pattern matching)
  3. Conflict resolution selects one production per cycle (~50 ms per production firing; Anderson, 2007)
  4. Selected production modifies buffers or makes requests to modules
  5. Modules process requests asynchronously

Building the Symbolic Model

Step 1: Define Chunk Types

Chunk types define the structure of declarative knowledge:

;; ACT-R 7.x Lisp syntax
(chunk-type addition-problem arg1 arg2 answer)
(chunk-type counting-fact number next)

Decision rules for chunk type design:

  1. Each chunk type represents one category of knowledge (Anderson, 2007, Ch. 2)
  2. Slots should correspond to meaningful features of the domain
  3. Use inheritance when chunk types share structure (e.g., a "problem" parent type)
  4. Keep chunks small -- typically 3-6 slots per chunk type (Anderson & Lebiere, 1998)

Step 2: Write Production Rules

Productions follow an IF-THEN structure:

(p retrieve-answer
 =goal>
 isa addition-problem
 arg1 =num1
 arg2 =num2
 answer nil
 ?retrieval>
 state free
==>
 +retrieval>
 isa addition-fact
 addend1 =num1
 addend2 =num2
 =goal>
)

Production rule guidelines:

GuidelineRationaleSource
One request per productionModule bottleneck constraintAnderson, 2007, Ch. 3
Test buffer state before requestingPrevents jamming the moduleBothell, 2023, ACT-R reference manual
Use =goal> to maintain goal bufferPrevents goal harvestingBothell, 2023
Minimize productions per task stepSimpler models are preferred (parsimony)Anderson, 2007, Ch. 1

Step 3: Structure the Goal Stack

Is the task sequential with clear phases?
 |
 +-- YES --> Use a single goal chunk with a "step" slot
 | that tracks the current phase
 |
 +-- NO --> Does the task require subgoaling?
 |
 +-- YES --> Use goal push/pop (stack)
 |
 +-- NO --> Use the imaginal buffer for
 intermediate representations

Subsymbolic Parameters

These parameters govern memory activation, retrieval, and production selection. See references/parameter-table.yaml for the complete table.

Core Declarative Memory Parameters

ParameterSymbolDefaultTypical RangeSource
Base-level learning decayd0.50.1 -- 1.0Anderson & Schooler, 1991; Anderson, 2007
Activation noises0.40.1 -- 0.8Anderson, 2007
Latency factorF1.00.2 -- 5.0Anderson, 2007
Latency exponentf1.0Fixed in most modelsAnderson, 2007
Retrieval thresholdtau-infinity (default)Set empirically; often 0.0 to -2.0Anderson, 2007
Maximum associative strengthS (mas)context-dependent1.0 -- 5.0Anderson & Reder, 1999
Mismatch penaltyPapplication-dependent0.5 -- 2.0Anderson, 2007

Production Utility Parameters

ParameterSymbolDefaultTypical RangeSource
Utility noisesigma0.0 (deterministic)0.1 -- 2.0 when enabledAnderson, 2007
Utility learning ratealpha0.20.01 -- 1.0Anderson, 2007
Initial utilityU00.0Set per productionAnderson, 2007
Production compilationenabled/disabledDisabled by default--Taatgen & Anderson, 2002

Timing Parameters

ParameterValueSource
Production cycle time50 msAnderson, 2007
Visual encoding time85 msAnderson, 2007, Ch. 6
Motor initiation time50 msAnderson, 2007, Ch. 6
Motor execution time100 ms (Fitts' law applies)Anderson, 2007, Ch. 6
Imaginal delay200 msAnderson, 2007, Ch. 4

Activation Equation

Total activation of chunk i:

**A_i = B_i + sum_j(W_j * S_ji) + PM_i + noise**

Where:

  • B_i = base-level activation (log of weighted recency; decay d; Anderson & Schooler, 1991)
  • W_j * S_ji = spreading activation from source j (Anderson, 2007, Ch. 5)
  • PM_i = partial matching component (Anderson, 2007)
  • noise = logistic noise with scale s (Anderson, 2007)

Retrieval time: **RT = F * e^(-f * A_i)** (Anderson, 2007)

Model Fitting Workflow

Step 1: Identify Free Parameters

How many free parameters?
 |
 +-- <= 3 --> Standard practice; proceed
 |
 +-- 4-6 --> Acceptable if justified by model complexity
 |
 +-- > 6 --> Warning: overfitting risk. Consider fixing some
 to default values (Anderson, 2007)

Rule of thumb: The number of free parameters should be substantially less than the number of independent data points being fit (Roberts & Pashler, 2000).

Step 2: Choose Fitting Method

MethodWhen to UseSource
Grid searchFew parameters (1-3), bounded spaceStandard practice
Simplex (Nelder-Mead)Moderate parameters, smooth landscapeAnderson, 2007
Differential evolutionMany parameters, multimodal landscapeStorn & Price, 1997
Bayesian optimizationExpensive evaluations, informed priorsPalestro et al., 2018

Step 3: Fit to Multiple Dependent Variables

ACT-R models should simultaneously account for:

  • Response times (correct trials, mean or quantiles)
  • Accuracy (proportion correct by condition)
  • Qualitative patterns (error types, learning curves)

Use weighted sum of squared deviations or log-likelihood across measures (Anderson, 2007, Ch. 4).

Step 4: Parameter Recovery

Before trusting fitted parameter values, conduct a parameter recovery study. See the parameter-recovery-checker skill.

Common Model Patterns

See references/model-patterns.md for detailed implementations of:

  1. Memory retrieval -- Paired associates, fan effect (Anderson, 2007, Ch. 5)
  2. Skill acquisition -- Production compilation, power law of practice (Taatgen & Anderson, 2002)
  3. Decision-making -- Instance-based learning, utility-based selection (Gonzalez et al., 2003)
  4. Problem solving -- Means-ends analysis, goal stacking (Anderson, 2007, Ch. 8)

Model Validation Checklist

Validation StepMethodMinimum Standard
Parameter recoverySimulate and refitr > 0.9 between true and recovered (Heathcote et al., 2015)
Cross-validationFit half, predict halfPrediction RMSE within 2x of fitting RMSE
Qualitative predictionsNovel conditionsModel predicts ordinal pattern correctly
Model comparisonAIC/BIC or Bayes factorCompare against plausible alternatives (Burnham & Anderson, 2002)
Sensitivity analysisVary fixed parametersConclusions robust to +/-20% variation

Software and Implementation

PlatformLanguageURLNotes
ACT-R 7.xCommon Lispact-r.psy.cmu.eduReference implementation (Bothell, 2023)
pyactrPythongithub.com/jakdot/pyactrPython interface, good for batch simulations (Dotlacil, 2018)
jACT-RJavajactr.orgJava implementation

Recommendation: Use ACT-R 7.x for model development and validation. Use pyactr when integrating with Python data analysis pipelines or running large parameter sweeps (Dotlacil, 2018).

Common Pitfalls

  1. Too many free parameters: Fitting more than 5-6 free parameters without strong justification risks overfitting (Roberts & Pashler, 2000). Fix well-established parameters (d = 0.5, production cycle = 50 ms) to defaults.
  2. Ignoring parameter correlations: Parameters like s (noise) and tau (threshold) trade off. Run parameter recovery to verify identifiability.
  3. Fitting only means: ACT-R makes distributional predictions. Fitting only mean RT discards information. Use quantile-based fitting where possible (Heathcote et al., 2015).
  4. Incorrect timing alignment: ACT-R's predicted RT includes perceptual and motor times. Account for these when comparing to behavioral RT.
  5. Overly complex models: Prefer models with fewer productions and chunk types that still capture the qualitative pattern. Complexity should be motivated by the data (Anderson, 2007, Ch. 1).
  6. Neglecting model comparison: Always compare your ACT-R model against at least one alternative (simpler ACT-R variant or a different architecture) using formal model comparison (Burnham & Anderson, 2002).

Minimum Reporting Checklist

Based on best practices from Anderson (2007) and Heathcote et al. (2015):

  • Architecture version (e.g., ACT-R 7.27)
  • All chunk types and their slots
  • Number of production rules
  • All parameter values: fixed (with default source) and free (with fitted values and confidence intervals)
  • Fitting method and objective function
  • Data fitted: number of conditions, number of data points, dependent variables
  • Goodness of fit: R-squared, RMSE, or log-likelihood per dependent variable
  • Parameter recovery results (r, bias, RMSE for each free parameter)
  • Model comparison results (AIC/BIC/Bayes factor vs. alternatives)
  • Qualitative predictions and whether they matched data

References

  • Anderson, J. R. (2007). *How Can the Human Mind Occur in the Physical Universe?* Oxford University Press.
  • Anderson, J. R., & Lebiere, C. (1998). *The Atomic Components of Thought.* Lawrence Erlbaum Associates.
  • Anderson, J. R., & Reder, L. M. (1999). The fan effect: New results and new theories. *Journal of Experimental Psychology: General*, 128(2), 186-197.
  • Anderson, J. R., & Schooler, L. J. (1991). Reflections of the environment in memory. *Psychological Science*, 2(6), 396-408.
  • Bothell, D. (2023). *ACT-R 7.27 Reference Manual.* Carnegie Mellon University.
  • Burnham, K. P., & Anderson, D. R. (2002). *Model Selection and Multimodel Inference* (2nd ed.). Springer.
  • Dotlacil, J. (2018). Building an ACT-R reader for eye-tracking corpus data. *Topics in Cognitive Science*, 10(1), 144-160.
  • Gonzalez, C., Lerch, J. F., & Lebiere, C. (2003). Instance-based learning in dynamic decision making. *Cognitive Science*, 27(4), 591-635.
  • Heathcote, A., Brown, S. D., & Wagenmakers, E.-J. (2015). An introduction to good practices in cognitive modeling. In B. U. Forstmann & E.-J. Wagenmakers (Eds.), *An Introduction to Model-Based Cognitive Neuroscience*. Springer.
  • Palestro, J. J., Sederberg, P. B., Osth, A. F., Van Zandt, T., & Turner, B. M. (2018). Likelihood-free methods for cognitive science. Springer.
  • Roberts, S., & Pashler, H. (2000). How persuasive is a good fit? A comment on theory testing. *Psychological Review*, 107(2), 358-367.
  • Storn, R., & Price, K. (1997). Differential evolution. *Journal of Global Optimization*, 11(4), 341-359.
  • Taatgen, N. A., & Anderson, J. R. (2002). Why do children learn to say "Broke"? A model of learning the past tense without feedback. *Cognition*, 86(2), 123-155.
  • Taatgen, N. A., van Rijn, H., & Anderson, J. R. (2007). An integrated theory of prospective time interval estimation. *Psychological Review*, 114(3), 577-598.

See references/ for detailed parameter tables and common model patterns.

平台分布

Codex

38.62%
按下载量换算2,580

Claude

29.42%
按下载量换算1,965

Cursor

18.96%
按下载量换算1,267

Gemini CLI

9.95%
按下载量换算665

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills