Technical Accounting Research
Overview
Handle transaction-specific accounting questions through a fixed sequence: gather facts, confirm output format, ensure the local FinResearchClaw repo is installed and runnable, route the task through that wrapped repo/workflow, research guidance online, apply standards, and deliver the requested output.
For all tasks under this skill — memo, email, and q-and-a alike — the workflow must wrap and leverage the local FinResearchClaw repo/workflow as a required research-and-drafting execution layer. This is mandatory, not optional, and applies even when the accounting issue appears straightforward. The skill may create and use a task-local virtual environment when needed to run the repo or supporting document-generation dependencies. FinResearchClaw is a required support engine for research depth and drafting quality across all output modes; authoritative accounting conclusions must still be grounded in ASC / SEC / AICPA / clearly labeled interpretive guidance.
Prerequisites
Before using this skill for substantive completion, install and make available the local FinResearchClaw repo:
- 1. Clone or install INLINECODE0
- Ensure the local repo is available at
~/.openclaw/workspace/AutoResearchClaw unless a different local path is intentionally configured - Ensure Python is available and create a task-local virtual environment when needed
- Install memo-generation dependencies such as
python-docx when DOCX output is required
If FinResearchClaw is not installed locally and runnable, do not treat the full research workflow as ready. Fix that prerequisite first.
Required Behavior
- - Ask clarification questions before analysis.
- Confirm requested output format:
memo, email, or q-and-a. - If the user asks for a
memo, default the deliverable to a .docx file saved in the user's ~/Downloads folder unless the user explicitly requests a different location or format. - For
memo requests, do not post the full memo body directly into chat by default. Instead, generate the DOCX deliverable and reply with a short status note that the file was created and where it was saved. - The final memo DOCX must be client-ready and must not expose Markdown syntax (for example
#, ##, ###, ####, bullet markers used as raw source notation, or fenced code blocks) anywhere in the rendered document. - Avoid bullet points in the final memo; use separate, meaningful, and structured narrative paragraphs for all sections.
- Avoid numbered sections; use proper professional formatting for section headings without prepended numbers.
- The memo and any delivered document must use Times New Roman, 12pt, black font.
- Avoid Markdown symbols like
*** or ** (for bold) if they might be rendered literally; use native DOCX formatting. - Mandatory Real-Life Example: Always perform a web search to find and include a real-world accounting example (public SEC filings preferred) or a secondary reference material example to demonstrate the practical application of the accounting treatment.
- Research the internet before final conclusions, even if guidance seems familiar.
- For all requests under this skill, use FinResearchClaw as a required wrapped execution and drafting layer.
- Do not present, summarize, or imply a substantive accounting conclusion to the user before the required FinResearchClaw-backed flow has been run, except to restate assumptions, ask clarifying questions, or explain that the analysis is still in progress.
- The skill may create and activate a task-local virtual environment to run FinResearchClaw, supporting scripts, and output-generation dependencies.
- Distinguish authoritative guidance from interpretive guidance.
- Cite sources with links and accessed date in the deliverable.
- Include at least 5 authoritative references supporting the accounting conclusion unless fewer are genuinely available for the issue; if fewer than 5 authoritative references can be identified, disclose that constraint explicitly and supplement with clearly labeled interpretive guidance.
- If the user does not provide a company name for a memo or memo-style deliverable, default to the neutral defined party name "Company" throughout the document. Do not substitute other role labels such as "vendor," "customer," or similar labels as the primary unnamed entity reference unless the fact pattern itself requires naming multiple counterparties distinctly.
- State assumptions explicitly when facts remain unknown.
- Do not let FinResearchClaw-style output replace authoritative accounting analysis; use it to strengthen organization and completeness, not to dilute source hierarchy.
Workflow
1. Intake and Scope
- - Capture the user issue in one sentence.
- Confirm reporting basis and jurisdiction (
US GAAP, SEC filer status, and whether disclosures are public-company or private-company focused). - Confirm reporting period and materiality context.
2. Clarification Questions (Mandatory)
- - Use references/clarification-question-bank.md.
- Ask only the questions needed for the fact pattern; do not skip critical facts.
- Pause analysis until enough facts are available to form a defensible conclusion.
- If facts stay incomplete, proceed with explicit assumptions and sensitivity notes.
3. Output Format Confirmation (Mandatory)
- - Ask which format is required (
memo for formal documentation, email for concise communication, q-and-a for direct question and answer support). - If no preference is provided, default to
memo. - For
memo outputs, default to generating a .docx file in ~/Downloads. - Unless the user explicitly asks to see the full memo inline, do not paste the memo text into the channel; provide the saved file path instead.
4. Research Guidance
- - Research sources using the priority and reliability rules in references/source-priority.md.
- Prefer primary and authoritative sources first (FASB/SEC/AICPA standard-setting materials).
- Use Big 4 publications as interpretive support, not sole authority.
- For a memo conclusion, target at least 5 authoritative references across the conclusion, disclosure direction, and key technical positions wherever the issue reasonably permits.
- Invoke FinResearchClaw for every task handled by this skill, regardless of output format.
- Execution for memo, email, and q-and-a outputs should all wrap the FinResearchClaw repo/workflow even if the accounting issue is straightforward.
- The FinResearchClaw-backed run must occur before any user-facing technical conclusion is given. Do not short-circuit from clarified facts directly to an accounting answer.
- The skill may create a task-local virtual environment for the run if needed.
- Do not skip or bypass the FinResearchClaw path. If the repo is unavailable, dependencies are missing, or the workflow fails to run, stop and troubleshoot the FinResearchClaw environment first. The task should not proceed to substantive completion until the wrapped FinResearchClaw path is functioning.
- Do not surface an accounting conclusion before this stage is completed successfully.
- At the start of a live task, explicitly verify that FinResearchClaw is installed locally and that the configured repo path exists before relying on the wrapped workflow.
- If using FinResearchClaw, treat it as a research accelerator and drafting assistant only; independently verify accounting conclusions against authoritative and clearly labeled interpretive sources before finalizing.
- Capture citation labels and URLs for each source used.
5. Technical Analysis and Illustration
- - Frame the accounting issue.
- Map facts to recognition, measurement, presentation, and disclosure guidance.
- Real-Life Illustration (Mandatory): Find and include a descriptive summary of a real-world case (e.g., an SEC filer's 10-K/Q disclosure) that mirrors the fact pattern. Explain how they applied the standard.
- Evaluate reasonable alternatives and explain rejection rationale.
- Conclude with recommended accounting treatment, disclosure direction, and key risks.
- Include journal entry examples when useful for implementation.
- For formal memo output, produce a polished memorandum style with a complete professional header and well-formed section headings (no numbers).
- If no company name is specified by the user, define the reporting entity as "Company" and use that term consistently throughout the memo.
- Analysis and all other sections must use descriptive, narrative paragraphs instead of bullet points or numbered lists.
- When FinResearchClaw is available, use it to improve thoroughness and professional drafting quality while preserving accounting-source hierarchy.
- Do not allow raw JSON structures, Python dictionary renderings, placeholder header fields, unformatted source dumps, or visible Markdown markers to appear in the final memo.
- If a drafting pass begins in Markdown, the final DOCX generation step must fully convert that draft into native memorandum formatting rather than packaging the Markdown text as-is.
- Preferred execution order for all outputs under this skill: (1) authoritative accounting research and fact development first, (2) create/use a task-local virtual environment if needed, (3) run the FinResearchClaw repo/workflow as the required drafting/research wrapper, (4) final manual verification against ASC/SEC/AICPA and labeled interpretive guidance, and (5) generate the requested deliverable format.
6. Draft and Materialize DOCX
- - Build a JSON payload using references/report-json-schema.md.
- For
memo requests, save the output DOCX to ~/Downloads by default (for example, ~/Downloads/<descriptive-file-name>.docx). - Standard wrapped workflow for all outputs:
1. gather facts and clarifications;
2. perform authoritative and interpretive accounting research;
3. create/use a task-local virtual environment if needed for the run;
4. run the FinResearchClaw-supported drafting pass for every task under this skill;
5. during memo-mode execution, send a short in-progress status update to the user at least every 1 minute until the memo workflow finishes or fails; each update should briefly state the current stage (for example fact gathering, authoritative research, FinResearchClaw run, memo drafting, citation verification, or DOCX generation);
6. manually validate the final analysis, formatting, section structure, entity naming consistency, and citations;
7. generate the requested deliverable format (DOCX for memo by default, or the requested email/q-and-a output) using a conversion path that renders headings, paragraphs, bullets, and tables as native document elements rather than leaving Markdown markers visible;
8. review the finished output for presentation quality before responding;
9. reply in chat with the appropriate completion note for the chosen format.
- - Do not use a Markdown-to-DOCX path that can preserve raw Markdown notation in the final document. If the chosen conversion method leaves visible Markdown markers, treat that as a failed output and regenerate the memo with a native DOCX creation path.
- Do not pass Markdown syntax through as final DOCX prose. Convert section labels into schema fields and provide plain text content for paragraphs, bullets, and conclusions. The generated Word document must use native Word headings/lists rather than visible Markdown markers such as
#, ##, ###, or ####. - Run:
CODEBLOCK0
- - The script produces a DOCX with:
- Title and metadata.
- Facts and issue statement.
- Guidance table with links.
- Analysis and conclusion.
- Disclosure considerations.
- Open items and assumptions.
7. Quality Check
- - Confirm the conclusion is consistent with cited guidance.
- Confirm all significant assumptions are disclosed.
- Confirm the output format matches user request.
- Confirm every external source in the analysis has a URL listed in the report.
- Confirm the final memo reads like a professional memorandum rather than a raw data export.
- Confirm headers are fully populated (for example To / From / Date / Subject) and that analysis sections render as proper prose, not serialized objects.
- Confirm the memo uses "Company" consistently when no specific company name was provided.
- Confirm the conclusion is supported by at least 5 authoritative references, or that any shortfall is explicitly disclosed and justified.
- Confirm the rendered DOCX contains no visible Markdown syntax such as heading hashes, fenced code blocks, or raw list notation.
- No task under this skill may close without using the wrapped FinResearchClaw path successfully. If FinResearchClaw is not yet working, the required next step is to fix that environment rather than continue without it.
Resources
Dependency
Install once if needed:
CODEBLOCK1
Runtime / Environment Expectations
- - Memo-mode runs are allowed to create and use a task-local Python virtual environment.
- FinResearchClaw default repo path: INLINECODE35
- If the repo or its dependencies are not ready, initialize a local venv for the task and install only the dependencies needed for the memo workflow.
- If FinResearchClaw cannot be executed after reasonable setup attempts, disclose that explicitly and fall back to a non-FinResearchClaw path only as an exception, not the default.
技术会计研究
概述
通过固定流程处理特定交易的会计问题:收集事实、确认输出格式、确保本地FinResearchClaw仓库已安装并可运行、通过该封装仓库/工作流程路由任务、在线研究指引、应用准则、交付所需输出。
对于本技能下的所有任务——备忘录、电子邮件和问答——工作流程必须封装并利用本地FinResearchClaw仓库/工作流程作为必要的研究和起草执行层。这是强制性的,而非可选项,即使会计问题看似简单也适用。本技能可在需要时创建并使用任务本地虚拟环境来运行仓库或支持文档生成的依赖项。FinResearchClaw是所有输出模式下研究深度和起草质量的必要支持引擎;权威会计结论仍必须基于ASC/SEC/AICPA/明确标注的解释性指引。
前提条件
在实质性使用本技能完成工作前,安装并确保本地FinResearchClaw仓库可用:
- 1. 克隆或安装https://github.com/ChipmunkRPA/FinResearchClaw
- 确保本地仓库位于~/.openclaw/workspace/AutoResearchClaw,除非有意配置了不同的本地路径
- 确保Python可用,并在需要时创建任务本地虚拟环境
- 当需要DOCX输出时,安装备忘录生成依赖项,如python-docx
如果FinResearchClaw未在本地安装且不可运行,则不要将完整研究工作流程视为就绪状态。首先解决该前提条件。
必要行为
- - 在分析前提出澄清性问题。
- 确认请求的输出格式:备忘录、电子邮件或问答。
- 如果用户请求备忘录,默认将交付物保存为用户~/Downloads文件夹中的.docx文件,除非用户明确要求不同的位置或格式。
- 对于备忘录请求,默认情况下不要将完整备忘录正文直接发布到聊天中。相反,生成DOCX交付物并回复简短的状态说明,告知文件已创建及其保存位置。
- 最终备忘录DOCX必须达到客户就绪标准,且不得在渲染文档的任何位置暴露Markdown语法(例如#、##、###、####、用作原始源符号的项目符号标记或围栏代码块)。
- 避免在最终备忘录中使用项目符号;所有章节应使用独立、有意义的叙述性段落结构。
- 避免编号章节;章节标题应使用适当的专业格式,不添加前置编号。
- 备忘录及任何交付文档必须使用Times New Roman字体、12磅、黑色字体。
- 避免Markdown符号,如*或(用于加粗),如果它们可能被字面渲染;使用原生DOCX格式。
- 强制性真实案例:始终进行网络搜索,查找并包含一个真实世界的会计示例(首选公开SEC申报文件)或二手参考资料示例,以展示会计处理的实际应用。
- 在最终结论前进行互联网研究,即使指引看似熟悉。
- 对于本技能下的所有请求,使用FinResearchClaw作为必要的封装执行和起草层。
- 在运行所需的FinResearchClaw支持流程之前,不得向用户呈现、总结或暗示实质性的会计结论,但重述假设、提出澄清性问题或解释分析仍在进行中除外。
- 本技能可创建并激活任务本地虚拟环境以运行FinResearchClaw、支持脚本和输出生成依赖项。
- 区分权威指引与解释性指引。
- 在交付物中引用来源并附上链接和访问日期。
- 至少包含5个支持会计结论的权威参考文献,除非该问题确实可用的参考文献少于5个;如果可识别的权威参考文献少于5个,则明确披露该限制,并用明确标注的解释性指引进行补充。
- 如果用户未提供备忘录或备忘录式交付物的公司名称,则在整个文档中默认使用中性定义的当事方名称公司。除非事实模式本身要求明确区分多个交易对手方,否则不得用其他角色标签(如供应商、客户或类似标签)替代作为主要未命名实体的引用。
- 当事实仍未知时,明确陈述假设。
- 不要让FinResearchClaw风格的输出取代权威会计分析;应使用它来加强组织性和完整性,而非稀释来源层级。
工作流程
1. 接收与范围界定
- - 用一句话概括用户问题。
- 确认报告基础和管辖范围(US GAAP、SEC申报人身份,以及披露是侧重于上市公司还是私营公司)。
- 确认报告期间和重要性背景。
2. 澄清性问题(强制性)
3. 输出格式确认(强制性)
- - 询问所需的格式(备忘录用于正式文档,电子邮件用于简洁沟通,问答用于直接问答支持)。
- 如果未提供偏好,默认使用备忘录。
- 对于备忘录输出,默认在~/Downloads中生成.docx文件。
- 除非用户明确要求查看完整的备忘录内容,否则不要将备忘录文本粘贴到频道中;而是提供保存的文件路径。
4. 研究指引
- - 使用references/source-priority.md中的优先级和可靠性规则研究来源。
- 首选主要和权威来源(FASB/SEC/AICPA准则制定材料)。
- 使用四大出版物作为解释性支持,而非唯一权威。
- 对于备忘录结论,在问题合理允许的情况下,在结论、披露方向和关键技术立场方面至少瞄准5个权威参考文献。
- 对于本技能处理的每项任务,无论输出格式如何,均调用FinResearchClaw。
- 备忘录、电子邮件和问答输出的执行均应封装FinResearchClaw仓库/工作流程,即使会计问题看似简单。
- 在给出面向用户的技术结论之前,必须完成FinResearchClaw支持的运行。不得从澄清后的事实直接跳转到会计答案。
- 本技能可在需要时为运行创建任务本地虚拟环境。
- 不得跳过或绕过FinResearchClaw路径。如果仓库不可用、依赖项缺失或工作流程无法运行,请先停止并排查FinResearchClaw环境问题。在封装的FinResearchClaw路径正常运行之前,任务不应进行实质性完成。
- 在此阶段成功完成之前,不得提出会计结论。
- 在实时任务开始时,在依赖封装工作流程之前,明确验证FinResearchClaw是否已在本地安装以及配置的仓库路径是否存在。
- 如果使用FinResearchClaw,仅将其视为研究加速器和起草助手;在最终确定前,独立对照权威和明确标注的解释性来源验证会计结论。
- 捕获每个使用来源的引用标签和URL。
5. 技术分析与说明
- - 构建会计问题框架。
- 将事实映射到确认、计量、列报和披露指引。
- 真实案例说明(强制性):查找并包含一个反映事实模式的真实世界案例的描述性摘要(例如,SEC申报人的10-K/Q披露)。解释他们如何应用准则。
- 评估合理的替代方案并解释拒绝理由。
- 以推荐的会计处理、披露方向和关键风险作为结论。
- 在有助于实施时包含会计分录示例。
- 对于正式备忘录输出,制作精良的备忘录风格,包含完整的专业页眉和格式良好的章节标题(无编号)。
- 如果用户未指定公司名称,将报告实体定义为公司,并在整个备忘录中一致使用该术语。
- 分析及所有其他章节必须使用描述性叙述段落,而非项目符号或编号列表。
- 当FinResearchClaw可用时,使用它来提高彻底性和专业起草质量,同时保持会计来源层级。
- 不允许原始JSON结构、Python字典渲染、占位符页眉字段、未格式化的源转储或可见的Markdown标记出现在最终备忘录中。
- 如果起草过程以Markdown开始,最终DOCX生成步骤必须将该草稿完全转换为原生备忘录格式,而非按原样打包Markdown文本。
- 本技能下所有输出的首选执行顺序:(1)首先进行权威会计研究和事实开发,(2)必要时创建/使用任务本地虚拟环境,(3)运行FinResearchClaw仓库/工作流程作为必要的起草/研究封装,(4)对照ASC/SEC/AICPA和标注的解释性指引进行最终人工验证,(5)生成请求的交付物格式。
6. 起草并生成DOCX
1. 收集事实和澄清信息;
2. 进行权威和解释性会计研究;
3. 必要时为运行创建/使用任务本地虚拟环境;
4. 对本技能下的每项任务运行FinResearchClaw支持的起草过程;
5. 在备忘录模式执行期间,至少每