شعار Research Assist

Research Assist

المجتمع
zhanglg12
research-assist

A lightweight arXiv literature digest skill for OpenClaw, with Zotero-driven interest profiling, research-map plus Zotero-semantic ranking, agent-enriched digest cards, and non-destructive feedback writeback.

نظرة عامة

الناشرzhanglg12
المستودعresearch-assist
اسم المهارةresearch-assist
النجوم
48
التفريعات
1
الملفات المرفقة
80
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 80

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها zhanglg12 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Research Assist في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/zhanglg12/research-assist/tree/main
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zhanglg12/research-assist.git \
  .claude/skills/research-assist
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Research Assist في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Research Assist تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Research Assist بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Research Assist Skill

An OpenClaw skill that turns Zotero evidence into a profile-driven literature digest, using arXiv by default and optionally expanding recall with OpenAlex and Semantic Scholar before deduplication.

CLI Usage

bash
# Full digest: profile check → literature retrieval → rank → markdown output
uv run --project ~/.openclaw/skills/research-assist \
  research-assist --action digest --config ~/.openclaw/skills/research-assist/config.json

# Ad-hoc literature search
uv run --project ~/.openclaw/skills/research-assist \
  research-assist --action search --query "gaussian process" --top 5

# Check profile refresh status
uv run --project ~/.openclaw/skills/research-assist \
  research-assist --action profile-refresh --config ~/.openclaw/skills/research-assist/config.json

# Zotero MCP server (for profile evidence + feedback writeback)
uv run --project ~/.openclaw/skills/research-assist research-assist-zotero-mcp

Or via Python module:

bash
uv run --project ~/.openclaw/skills/research-assist \
  python -m codex_research_assist --action digest --config ~/.openclaw/skills/research-assist/config.json

Default config path: ~/.openclaw/skills/research-assist/config.json

During install or reconfiguration, do not embed the full setup questionnaire in this file. Use references/setup-routing.md as the install-time interaction guide, ask only the questions relevant to the user's goal, then edit config.json directly.

Install-Time Behavior

Installation and reconfiguration are one-time operations.

Hard rules for the host agent:

  • use references/setup-routing.md only when the user is installing, reconfiguring, or when required config is missing
  • once config.json is valid, normal digest/search/render/feedback runs must not reopen setup questions
  • do not restate dormant install options during regular literature work
  • if the user asks for normal runtime work, prefer using the existing config over discussing installation
  • when setup selects optional backends or delivery routes, execute the required install/setup commands instead of only listing them
  • before leaving setup, run a minimal verification for the selected backend or route and report the result
  • only fall back to manual instructions when a step is blocked by missing secrets, missing local services, missing permissions, or a platform limitation

Config Format

json
{
  "profile_path": "~/.openclaw/skills/research-assist/profiles/research-interest.json",
  "output_root": "~/.openclaw/skills/research-assist/reports",
  "retrieval_defaults": {
    "max_results_per_interest": 20,
    "since_days": 7,
    "max_age_days": 7
  }
}

Architecture

config.json (OpenClaw skill config)
    ↓
openclaw_runner.py (CLI entry, markdown to stdout)
    ├── profile_refresh_policy  → check if profile needs update
    ├── pipeline.py             → multi-source literature retrieval (arXiv default)
    ├── ranker.py               → two-signal scoring (map_match + zotero_semantic)
    └── format_*_markdown()     → structured markdown output

No LLM calls inside the packaged Python pipeline. Retrieval, ranking, and formatting are pure data operations. Intelligence comes from the calling agent (OpenClaw / Claude Code / Codex CLI).

Profile refresh should be handled by the OpenClaw controller or agent layer, using live Zotero evidence via the bundled Zotero MCP.

Workflow Stages

1. profile_update

  • read the current Zotero evidence base when refresh is required
  • maintain profiles/research-interest.json
  • preserve the compact contract: method_keywords, query_aliases, exclude_keywords
  • keep method labels short and retrieval-friendly
  • prefer zotero_semantic_search for discovery, then zotero_search_items for exact resolution
  • use research-assist-zotero-mcp for live Zotero reads (no direct API calls)

OpenClaw generation rule:

  • treat Zotero like a studio palette, not a flat folder dump
  • use collection structure as the sketch of the research map
  • use representative papers as the main evidence for what each region actually contains
  • use semantic search as the blending layer that connects nearby themes across collections
  • write interests that feel like stable method axes, not loose keyword bags
  • aim for about 6 interests by default; usually stay in the 4-8 range unless the evidence strongly says otherwise
  • if the draft has too few interests, split mixed regions by real method differences; if it has too many, merge nearby regions that share one stable method axis
  • if collection names and paper content disagree, trust the papers more than the folder label
  • if summary terms are frequent but too generic, use them only to refine wording, not to define the map
  • the final profile should read like a compact map of the user's research territory: a few clear regions, each with short labels and retrieval-friendly aliases

2. retrieval

  • query arXiv by default, optionally add OpenAlex and Semantic Scholar per interest
  • expand the paper pool before ranking when multiple sources are enabled
  • generate structured candidate JSON with full provenance
  • deduplicate across interests and across enabled sources

3. review

  • rank candidates with two-signal scoring:
    • map_match (0.30): how well the paper fits the current research-map slices
    • zotero_semantic (0.70): how close the paper is to nearby Zotero literature
  • apply the low-map guard:
    • if map_match < 0.30, apply the configured penalty to avoid semantic-only false positives
  • output ranked markdown to stdout for agent review
  • prefer a smaller sharper set over a noisy dump
  • stay abstract-first

Digest Enrichment

  • OpenClaw should treat agent-filled review as the default digest-enrichment path
  • after retrieval, let the host agent enrich the top-ranked candidate JSON files with review patches
  • use review_generation.agent_top_n to cap how many ranked candidates the host agent needs to inspect
  • let the host agent decide the final visible subset by setting review.selected_for_digest
  • use review_generation.final_top_n as the hard upper bound for the final rendered digest
  • keep fallback_to_system enabled unless the user explicitly wants hard failure instead of fallback text
  • after patches are applied, re-render the digest so HTML / Telegram outputs use the enriched review text
  • why_it_matters should sound like a recommendation, not a provenance report
  • caveats should capture real uncertainty or scope boundaries, not generic hedging
  • the host agent should also fill review.zotero_comparison, including nearest-neighbor fallback when candidate-level evidence is missing
  • keep nearest-neighbor output compact: usually 1-2 items
  • the host agent is not responsible for email / telegram wrapper copy, subjects, or routing

Delivery Routing

  • use one shared delivery path and branch at the end with delivery.primary_channel
  • default primary channel is email; telegram is backup or alternate primary
  • channel wrappers are system-owned:
    • email subject/body/profile card/stat cards
    • telegram compact message shell
  • do not ask the host agent to generate channel-specific wrappers

Stage 6: feedback_sync

After the digest is reviewed and delivered, the host agent may push non-destructive feedback back into Zotero.

Workflow:

  1. collect the user's explicit feedback on each digest candidate (keep, drop, archive, watch, etc.)
  2. encode feedback as reports/schema/zotero-feedback.schema.json
  3. call zotero_apply_feedback through the bundled Zotero MCP with dry_run=true first
  4. show the dry-run plan to the user and ask for confirmation before applying
  5. only after confirmation, re-run with dry_run=false

Allowed feedback decisions:

  • read_first — high-priority paper, tag and promote in library
  • skim — worth scanning, tag for later review
  • watch — track this topic area, add to watchlist collection
  • skip_for_now — not relevant now, mark but do not remove
  • archive — reviewed and filed, move to archive collection
  • watchlist — add to a standing watchlist for periodic check-in
  • ignore — not relevant, tag to suppress in future runs
  • unset — no decision yet, skip writeback for this item

What feedback can do (non-destructive only):

  • add tags (including ra-status:* decision tags)
  • add or change collection membership
  • append notes to items
  • create new collections if needed for organization

What feedback must never do:

  • delete Zotero items or collections
  • modify item metadata (title, authors, abstract, DOI)
  • move or delete attachment files
  • rewrite top-level taxonomy without explicit user instruction
  • apply changes without showing the dry-run plan first

Matching behavior:

  • match items by item_key (preferred), doi, or title_contains
  • at least one match field must be provided per decision
  • DOI matching is case-insensitive
  • title_contains uses substring match (not exact)
  • if no match is found, the decision is recorded as not_found in the plan

Edge cases:

  • duplicate tags are deduplicated (case-insensitive)
  • previous ra-status:* tags are replaced when a new decision is applied
  • the research-assist system tag is always preserved
  • unset decisions produce no status tag and no writeback
  • empty add_tags, remove_tags, add_collections, remove_collections are allowed (no-op for that field)

Hard Rules

  • do not expand concise method labels into long topic sentences
  • do not make full text the default review mode
  • do not delete Zotero items or collections automatically
  • prefer dry_run=true for any Zotero writeback
  • do not treat scheduler wiring as part of the skill

Key Runtime Files

  • OpenClaw runner: src/codex_research_assist/openclaw_runner.py
  • Ranker: src/codex_research_assist/ranker.py
  • Pipeline: src/codex_research_assist/arxiv_profile_pipeline/pipeline.py
  • Example config: config.example.json
  • Example profile: profiles/research-interest.example.json

Reference Documents

  • references/workflow.md — stage order and controller boundary
  • references/contracts.md — profile contract and review policy
  • references/distribution.md — packaging include/exclude rules
  • references/setup-routing.md — install-time route selection and option questions
  • references/review-generation.md — system vs agent_fill review contract
  • references/profile-map-generation.md — how to turn Zotero evidence into a research-map-style profile

Packaging Boundary

Include in distributable skill:

  • SKILL.md, config.example.json, pyproject.toml, uv.lock
  • src/
  • references/
  • profiles/research-interest.example.json
  • automation/arxiv-profile-digest.example.toml
  • automation/prompts/
  • reports/schema/
  • generated package-root install.sh

Exclude:

  • generated reports, temporary state
  • local secret config
  • scheduler wrappers
  • repository planning documents (NEXT_PLAN.md, CODEMAP.md)

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

وهناك ملفات إضافية عددها 20.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Research Assist؟

A lightweight arXiv literature digest skill for OpenClaw, with Zotero-driven interest profiling, research-map plus Zotero-semantic ranking, agent-enriched digest cards, and non-destructive feedback writeback.

لماذا تستخدم Research Assist على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Research Assist عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Research Assist في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/zhanglg12/research-assist/tree/main. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Research Assist؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Research Assist؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Research Assist معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Research Assist مجانية؟

نعم. نشرها zhanglg12 على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇