research-copilot 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +190 -0
- package/app/build/icon.icns +0 -0
- package/app/build/icon.ico +0 -0
- package/app/build/icon.png +0 -0
- package/app/out/main/index.mjs +6719 -0
- package/app/out/preload/index.js +141 -0
- package/app/out/renderer/assets/Inter-Variable-Latin-8kRkwJBP.woff2 +0 -0
- package/app/out/renderer/assets/Inter-Variable-LatinExt-B_-bZUTo.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/app/out/renderer/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/app/out/renderer/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/app/out/renderer/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/app/out/renderer/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/app/out/renderer/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/app/out/renderer/assets/MilkdownMarkdownEditor-bLPxrCVb.js +89821 -0
- package/app/out/renderer/assets/MilkdownMarkdownEditor-tTNRIB2K.css +2555 -0
- package/app/out/renderer/assets/Tableau10-BqnYsPR6.js +9 -0
- package/app/out/renderer/assets/apl-fqmucPXA.js +140 -0
- package/app/out/renderer/assets/arc-J47ePHZ2.js +132 -0
- package/app/out/renderer/assets/array-DgktLKBx.js +6 -0
- package/app/out/renderer/assets/asciiarmor-DucZyvP0.js +56 -0
- package/app/out/renderer/assets/asn1-BnOEsgAm.js +144 -0
- package/app/out/renderer/assets/asterisk-QAlztEwS.js +345 -0
- package/app/out/renderer/assets/blockDiagram-c4efeb88-5uRQXgQJ.js +1817 -0
- package/app/out/renderer/assets/brainfuck-DZVCuF_t.js +53 -0
- package/app/out/renderer/assets/c4Diagram-c83219d4-C4iCTPEL.js +2464 -0
- package/app/out/renderer/assets/channel-ZAmhHE3g.js +7 -0
- package/app/out/renderer/assets/classDiagram-beda092f-7NOZxq_W.js +357 -0
- package/app/out/renderer/assets/classDiagram-v2-2358418a-5fPT-cUH.js +291 -0
- package/app/out/renderer/assets/clike-xqXYL6ge.js +805 -0
- package/app/out/renderer/assets/clojure-BhXMqnxz.js +849 -0
- package/app/out/renderer/assets/clone-CsnzsYXQ.js +8 -0
- package/app/out/renderer/assets/cmake-BGaNd9E7.js +71 -0
- package/app/out/renderer/assets/cobol-4yqQntpt.js +120 -0
- package/app/out/renderer/assets/coffeescript-D2dXvhEc.js +308 -0
- package/app/out/renderer/assets/commonlisp-CF_VNHQR.js +130 -0
- package/app/out/renderer/assets/createText-1719965b-Cji7KN4K.js +4904 -0
- package/app/out/renderer/assets/crystal-DyuLTqLs.js +398 -0
- package/app/out/renderer/assets/css-c-jst79C.js +1783 -0
- package/app/out/renderer/assets/cypher-Dlu_3r4V.js +121 -0
- package/app/out/renderer/assets/d-UURgV0Ux.js +179 -0
- package/app/out/renderer/assets/diff-B_Bi2Crb.js +25 -0
- package/app/out/renderer/assets/dockerfile-Bvk733Ga.js +201 -0
- package/app/out/renderer/assets/dtd-Dy74G54E.js +114 -0
- package/app/out/renderer/assets/dylan-TSb-Nfix.js +314 -0
- package/app/out/renderer/assets/ebnf-DAomQUbD.js +139 -0
- package/app/out/renderer/assets/ecl-B59qGGVg.js +178 -0
- package/app/out/renderer/assets/edges-96097737-CD0EvAZQ.js +1844 -0
- package/app/out/renderer/assets/eiffel-Dze7nlu3.js +134 -0
- package/app/out/renderer/assets/elm-DG7jkhNZ.js +176 -0
- package/app/out/renderer/assets/erDiagram-0228fc6a-DRYXBpi7.js +1321 -0
- package/app/out/renderer/assets/erlang-BO6gOnGA.js +674 -0
- package/app/out/renderer/assets/factor-CMxFHDqz.js +65 -0
- package/app/out/renderer/assets/fcl-CDDUNjTj.js +141 -0
- package/app/out/renderer/assets/flowDb-c6c81e3f-CuoIN-Cy.js +1713 -0
- package/app/out/renderer/assets/flowDiagram-50d868cf-CPWPLOml.js +1272 -0
- package/app/out/renderer/assets/flowDiagram-v2-4f6560a1-C_R12s4S.js +33 -0
- package/app/out/renderer/assets/flowchart-elk-definition-6af322e1-BdKUSFpi.js +92921 -0
- package/app/out/renderer/assets/forth-B9D2JCeE.js +116 -0
- package/app/out/renderer/assets/fortran-CAG2BFbe.js +467 -0
- package/app/out/renderer/assets/ganttDiagram-a2739b55-ygqT5HlG.js +3399 -0
- package/app/out/renderer/assets/gas-d3KEcW3x.js +294 -0
- package/app/out/renderer/assets/gherkin-DhZlEZiy.js +115 -0
- package/app/out/renderer/assets/gitGraphDiagram-82fe8481-D97GT4iA.js +1791 -0
- package/app/out/renderer/assets/graph-DpC13d95.js +1237 -0
- package/app/out/renderer/assets/groovy-CpwJiBl7.js +223 -0
- package/app/out/renderer/assets/haskell-BlGBCCe3.js +459 -0
- package/app/out/renderer/assets/haxe-7MlzfeYV.js +514 -0
- package/app/out/renderer/assets/http-BqypyemW.js +79 -0
- package/app/out/renderer/assets/idl-4HIGJlDI.js +985 -0
- package/app/out/renderer/assets/index-4-ziknCv.js +292 -0
- package/app/out/renderer/assets/index-5325376f-Bbs7Fbqr.js +663 -0
- package/app/out/renderer/assets/index-B2jip-rk.js +2489 -0
- package/app/out/renderer/assets/index-BKTVfokE.js +312 -0
- package/app/out/renderer/assets/index-BiJbFgVG.js +118 -0
- package/app/out/renderer/assets/index-Bn433Fat.js +83 -0
- package/app/out/renderer/assets/index-BqDyyRCx.js +39679 -0
- package/app/out/renderer/assets/index-BzFMeMPn.js +158 -0
- package/app/out/renderer/assets/index-C-_uCjZJ.css +2701 -0
- package/app/out/renderer/assets/index-C1ithNW1.js +1765 -0
- package/app/out/renderer/assets/index-CAJkRYkO.js +407 -0
- package/app/out/renderer/assets/index-CleO0-yj.js +690 -0
- package/app/out/renderer/assets/index-Cq4MH3sY.js +1020 -0
- package/app/out/renderer/assets/index-CtA0Xj22.js +705 -0
- package/app/out/renderer/assets/index-CvAZkqBZ.js +83 -0
- package/app/out/renderer/assets/index-D3UDN-5c.js +152 -0
- package/app/out/renderer/assets/index-D4F9R5ao.js +179 -0
- package/app/out/renderer/assets/index-D6RguhZ5.js +328 -0
- package/app/out/renderer/assets/index-DnEowqXv.js +386 -0
- package/app/out/renderer/assets/index-K8c8Mqdy.js +98 -0
- package/app/out/renderer/assets/index-Kh14gO6K.js +62 -0
- package/app/out/renderer/assets/index-WFd2jRnA.js +333 -0
- package/app/out/renderer/assets/index-WgMfkRFp.js +313 -0
- package/app/out/renderer/assets/index-Y4lKyF6t.js +1042 -0
- package/app/out/renderer/assets/index-fx307_f1.js +643 -0
- package/app/out/renderer/assets/infoDiagram-8eee0895-ptaVSwzq.js +511 -0
- package/app/out/renderer/assets/init-ZxktEp_H.js +16 -0
- package/app/out/renderer/assets/javascript-C3MnDRiU.js +994 -0
- package/app/out/renderer/assets/journeyDiagram-c64418c1-aloEGOQp.js +1184 -0
- package/app/out/renderer/assets/julia-Bs6JJhYG.js +407 -0
- package/app/out/renderer/assets/layout-ZeuHE_aY.js +2217 -0
- package/app/out/renderer/assets/line-CAgaGl-S.js +45 -0
- package/app/out/renderer/assets/linear-DIg7lTe1.js +539 -0
- package/app/out/renderer/assets/livescript-DmzgM3Yt.js +296 -0
- package/app/out/renderer/assets/lua-8cJgIlqe.js +256 -0
- package/app/out/renderer/assets/mathematica-DNLOL9PQ.js +110 -0
- package/app/out/renderer/assets/mbox-Ga7d4MMN.js +117 -0
- package/app/out/renderer/assets/mindmap-definition-8da855dc-B8XVoUxz.js +36054 -0
- package/app/out/renderer/assets/mirc-Dma3B8rS.js +107 -0
- package/app/out/renderer/assets/mllike-DHn7xckP.js +334 -0
- package/app/out/renderer/assets/modelica-0d55jYY0.js +147 -0
- package/app/out/renderer/assets/mscgen-DdqZYINH.js +135 -0
- package/app/out/renderer/assets/mumps-Btr8VblO.js +93 -0
- package/app/out/renderer/assets/nginx-DTDtBDVN.js +141 -0
- package/app/out/renderer/assets/nsis-3zG7tgur.js +62 -0
- package/app/out/renderer/assets/ntriples-CvgOYMpL.js +153 -0
- package/app/out/renderer/assets/octave-DYBj3-tl.js +200 -0
- package/app/out/renderer/assets/ordinal-DSZU4PqD.js +76 -0
- package/app/out/renderer/assets/oz-R_e8WMIi.js +231 -0
- package/app/out/renderer/assets/pascal-GD8iposT.js +105 -0
- package/app/out/renderer/assets/path-Cp2qmpkd.js +109 -0
- package/app/out/renderer/assets/perl-DL9mHpoi.js +1105 -0
- package/app/out/renderer/assets/pieDiagram-a8764435-DlwoeBU2.js +770 -0
- package/app/out/renderer/assets/pig-C_4T4YIV.js +101 -0
- package/app/out/renderer/assets/powershell-B0suO7Vd.js +328 -0
- package/app/out/renderer/assets/properties-BR-vP1aU.js +58 -0
- package/app/out/renderer/assets/protobuf-BxgpyhoW.js +77 -0
- package/app/out/renderer/assets/pug-By0kVCfm.js +405 -0
- package/app/out/renderer/assets/puppet-Bdao66PW.js +137 -0
- package/app/out/renderer/assets/python-CvWbmiX4.js +427 -0
- package/app/out/renderer/assets/q-CrbCVq4a.js +131 -0
- package/app/out/renderer/assets/quadrantDiagram-1e28029f-BaSi1XB4.js +1200 -0
- package/app/out/renderer/assets/r-V7nswm59.js +170 -0
- package/app/out/renderer/assets/requirementDiagram-08caed73-D3EFyegZ.js +1092 -0
- package/app/out/renderer/assets/rpm-C-DLY-If.js +109 -0
- package/app/out/renderer/assets/ruby-JDKLJNK0.js +330 -0
- package/app/out/renderer/assets/sankeyDiagram-a04cb91d-Cv44AsnM.js +1174 -0
- package/app/out/renderer/assets/sas-D2UG-yhZ.js +207 -0
- package/app/out/renderer/assets/scheme-BKzrkGJD.js +222 -0
- package/app/out/renderer/assets/sequenceDiagram-c5b8d532-CuUBu-x4.js +3337 -0
- package/app/out/renderer/assets/shell-BlsXDxCn.js +222 -0
- package/app/out/renderer/assets/sieve-CjwBwOY5.js +135 -0
- package/app/out/renderer/assets/simple-mode-DMneyfDu.js +130 -0
- package/app/out/renderer/assets/smalltalk-BOIGQuhN.js +121 -0
- package/app/out/renderer/assets/solr-CwD7U71z.js +69 -0
- package/app/out/renderer/assets/sparql-DYskk2vE.js +249 -0
- package/app/out/renderer/assets/spreadsheet-Bgtt3oLP.js +87 -0
- package/app/out/renderer/assets/sql-BSrOzCRI.js +354 -0
- package/app/out/renderer/assets/stateDiagram-1ecb1508-BOU34Zp4.js +454 -0
- package/app/out/renderer/assets/stateDiagram-v2-c2b004d7-BgRoffou.js +326 -0
- package/app/out/renderer/assets/stex-B6LNC55o.js +231 -0
- package/app/out/renderer/assets/styles-b4e223ce-BMr9TPuj.js +1483 -0
- package/app/out/renderer/assets/styles-ca3715f6-DgbNw99p.js +1363 -0
- package/app/out/renderer/assets/styles-d45a18b0-DtRYKYKf.js +574 -0
- package/app/out/renderer/assets/stylus-BkS-boTH.js +565 -0
- package/app/out/renderer/assets/svgDrawCommon-b86b1483-Bein03PD.js +100 -0
- package/app/out/renderer/assets/swift-FRZi1uvB.js +291 -0
- package/app/out/renderer/assets/tcl-CUcaCdmq.js +114 -0
- package/app/out/renderer/assets/textile-BnFpjsrl.js +414 -0
- package/app/out/renderer/assets/tiddlywiki-CjprD-Qp.js +218 -0
- package/app/out/renderer/assets/tiki-B4EPSQ1G.js +265 -0
- package/app/out/renderer/assets/timeline-definition-faaaa080-BlWpLE_4.js +1212 -0
- package/app/out/renderer/assets/toml-BOuWGMcf.js +76 -0
- package/app/out/renderer/assets/troff-E1bJ0PPL.js +61 -0
- package/app/out/renderer/assets/ttcn-cfg-Dc39-fIP.js +133 -0
- package/app/out/renderer/assets/ttcn-tKd4HLu4.js +192 -0
- package/app/out/renderer/assets/turtle-Dq7-1WAf.js +124 -0
- package/app/out/renderer/assets/vb-Dp90gtsv.js +196 -0
- package/app/out/renderer/assets/vbscript-CI6_mxxU.js +479 -0
- package/app/out/renderer/assets/velocity-BwIZK1TH.js +149 -0
- package/app/out/renderer/assets/verilog-DDCYnHN8.js +430 -0
- package/app/out/renderer/assets/vhdl-DCkMIyT9.js +158 -0
- package/app/out/renderer/assets/webidl-BTLTThCm.js +204 -0
- package/app/out/renderer/assets/xquery-BgiOC5Ce.js +525 -0
- package/app/out/renderer/assets/xychartDiagram-f5964ef8-Bhga-YXm.js +1799 -0
- package/app/out/renderer/assets/yacas-b5lAVEIl.js +130 -0
- package/app/out/renderer/assets/z80-BZV19vqv.js +93 -0
- package/app/out/renderer/index.html +13 -0
- package/app/out/skills/community-builtin/README.md +29 -0
- package/app/out/skills/community-builtin/document-docx/SKILL.md +44 -0
- package/app/out/skills/community-builtin/document-docx/scripts/docx-to-markdown.sh +20 -0
- package/app/out/skills/community-builtin/document-docx/scripts/extract-docx-text.sh +28 -0
- package/app/out/skills/community-builtin/document-docx/scripts/init-docx-template.sh +32 -0
- package/app/out/skills/community-builtin/document-docx/scripts/setup-docx-tools.sh +10 -0
- package/app/out/skills/community-builtin/markitdown/SKILL.md +105 -0
- package/app/out/skills/community-builtin/markitdown/scripts/batch-convert.sh +40 -0
- package/app/out/skills/community-builtin/markitdown/scripts/convert-file.sh +24 -0
- package/app/out/skills/community-builtin/markitdown/scripts/setup-markitdown.sh +10 -0
- package/app/out/skills/community-builtin/repo-quick-audit/SKILL.md +27 -0
- package/app/out/skills/community-builtin/repo-quick-audit/scripts/audit-basics.sh +19 -0
- package/app/out/skills/research-pilot-default-project-skills/README.md +23 -0
- package/app/out/skills/research-pilot-default-project-skills/citation-management/SKILL.md +39 -0
- package/app/out/skills/research-pilot-default-project-skills/citation-management/scripts/doi-to-bibtex.sh +25 -0
- package/app/out/skills/research-pilot-default-project-skills/citation-management/scripts/normalize-bibtex-keys.sh +51 -0
- package/app/out/skills/research-pilot-default-project-skills/citation-management/scripts/setup-citation-tools.sh +10 -0
- package/app/out/skills/research-pilot-default-project-skills/citation-management/scripts/validate-bib.sh +31 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/SKILL.md +34 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/references/api_reference.md +412 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/references/common_issues.md +563 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/references/plot_types.md +476 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/references/styling_guide.md +589 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/references/subagent_quickstart.md +30 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/scripts/plot_template.py +401 -0
- package/app/out/skills/research-pilot-default-project-skills/matplotlib/scripts/style_configurator.py +409 -0
- package/app/out/skills/research-pilot-default-project-skills/research-grants/SKILL.md +38 -0
- package/app/out/skills/research-pilot-default-project-skills/research-grants/scripts/check-grant-compliance.sh +40 -0
- package/app/out/skills/research-pilot-default-project-skills/research-grants/scripts/grant-summary-card.sh +32 -0
- package/app/out/skills/research-pilot-default-project-skills/research-grants/scripts/init-grant-structure.sh +70 -0
- package/app/package.json +77 -0
- package/bin/cli.mjs +56 -0
- package/lib/README.md +145 -0
- package/lib/skills/_generated.ts +13 -0
- package/lib/skills/builtin/brainstorming-research-ideas/SKILL.md +280 -0
- package/lib/skills/builtin/coding/SKILL.md +114 -0
- package/lib/skills/builtin/creative-thinking-for-research/SKILL.md +273 -0
- package/lib/skills/builtin/matplotlib/SKILL.md +361 -0
- package/lib/skills/builtin/matplotlib/references/api_reference.md +412 -0
- package/lib/skills/builtin/matplotlib/references/common_issues.md +563 -0
- package/lib/skills/builtin/matplotlib/references/plot_types.md +476 -0
- package/lib/skills/builtin/matplotlib/references/styling_guide.md +589 -0
- package/lib/skills/builtin/matplotlib/scripts/plot_template.py +401 -0
- package/lib/skills/builtin/matplotlib/scripts/style_configurator.py +409 -0
- package/lib/skills/builtin/paper-writing/SKILL.md +554 -0
- package/lib/skills/builtin/paper-writing/references/checklists.md +524 -0
- package/lib/skills/builtin/paper-writing/references/citation-workflow.md +562 -0
- package/lib/skills/builtin/paper-writing/references/reviewer-guidelines.md +462 -0
- package/lib/skills/builtin/paper-writing/references/sources.md +189 -0
- package/lib/skills/builtin/paper-writing/references/systems-conferences.md +260 -0
- package/lib/skills/builtin/paper-writing/references/writing-guide.md +476 -0
- package/lib/skills/builtin/paper-writing/templates/README.md +408 -0
- package/lib/skills/builtin/paper-writing/templates/aaai2026/README.md +534 -0
- package/lib/skills/builtin/paper-writing/templates/aaai2026/aaai2026-unified-supp.tex +144 -0
- package/lib/skills/builtin/paper-writing/templates/aaai2026/aaai2026-unified-template.tex +952 -0
- package/lib/skills/builtin/paper-writing/templates/aaai2026/aaai2026.bib +111 -0
- package/lib/skills/builtin/paper-writing/templates/aaai2026/aaai2026.bst +1493 -0
- package/lib/skills/builtin/paper-writing/templates/aaai2026/aaai2026.sty +315 -0
- package/lib/skills/builtin/paper-writing/templates/acl/README.md +50 -0
- package/lib/skills/builtin/paper-writing/templates/acl/acl.sty +312 -0
- package/lib/skills/builtin/paper-writing/templates/acl/acl_latex.tex +377 -0
- package/lib/skills/builtin/paper-writing/templates/acl/acl_lualatex.tex +101 -0
- package/lib/skills/builtin/paper-writing/templates/acl/acl_natbib.bst +1940 -0
- package/lib/skills/builtin/paper-writing/templates/acl/anthology.bib.txt +26 -0
- package/lib/skills/builtin/paper-writing/templates/acl/custom.bib +70 -0
- package/lib/skills/builtin/paper-writing/templates/acl/formatting.md +326 -0
- package/lib/skills/builtin/paper-writing/templates/asplos2027/main.tex +459 -0
- package/lib/skills/builtin/paper-writing/templates/asplos2027/references.bib +135 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/README.md +3 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/colm2025_conference.bib +11 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/colm2025_conference.bst +1440 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/colm2025_conference.pdf +0 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/colm2025_conference.sty +218 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/colm2025_conference.tex +305 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/fancyhdr.sty +485 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/math_commands.tex +508 -0
- package/lib/skills/builtin/paper-writing/templates/colm2025/natbib.sty +1246 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/fancyhdr.sty +485 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/iclr2026_conference.bib +24 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/iclr2026_conference.bst +1440 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/iclr2026_conference.pdf +0 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/iclr2026_conference.sty +246 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/iclr2026_conference.tex +414 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/math_commands.tex +508 -0
- package/lib/skills/builtin/paper-writing/templates/iclr2026/natbib.sty +1246 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/algorithm.sty +79 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/algorithmic.sty +201 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/example_paper.bib +75 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/example_paper.pdf +0 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/example_paper.tex +662 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/fancyhdr.sty +864 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/icml2026.bst +1443 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/icml2026.sty +767 -0
- package/lib/skills/builtin/paper-writing/templates/icml2026/icml_numpapers.pdf +0 -0
- package/lib/skills/builtin/paper-writing/templates/neurips2025/Makefile +36 -0
- package/lib/skills/builtin/paper-writing/templates/neurips2025/extra_pkgs.tex +53 -0
- package/lib/skills/builtin/paper-writing/templates/neurips2025/main.tex +38 -0
- package/lib/skills/builtin/paper-writing/templates/neurips2025/neurips.sty +382 -0
- package/lib/skills/builtin/paper-writing/templates/nsdi2027/main.tex +426 -0
- package/lib/skills/builtin/paper-writing/templates/nsdi2027/references.bib +151 -0
- package/lib/skills/builtin/paper-writing/templates/nsdi2027/usenix-2020-09.sty +83 -0
- package/lib/skills/builtin/paper-writing/templates/osdi2026/main.tex +429 -0
- package/lib/skills/builtin/paper-writing/templates/osdi2026/references.bib +150 -0
- package/lib/skills/builtin/paper-writing/templates/osdi2026/usenix-2020-09.sty +83 -0
- package/lib/skills/builtin/paper-writing/templates/sosp2026/main.tex +532 -0
- package/lib/skills/builtin/paper-writing/templates/sosp2026/references.bib +148 -0
- package/lib/skills/builtin/research-grants/SKILL.md +958 -0
- package/lib/skills/builtin/research-grants/assets/budget_justification_template.md +453 -0
- package/lib/skills/builtin/research-grants/assets/nih_specific_aims_template.md +166 -0
- package/lib/skills/builtin/research-grants/assets/nsf_project_summary_template.md +92 -0
- package/lib/skills/builtin/research-grants/references/README.md +285 -0
- package/lib/skills/builtin/research-grants/references/broader_impacts.md +392 -0
- package/lib/skills/builtin/research-grants/references/darpa_guidelines.md +636 -0
- package/lib/skills/builtin/research-grants/references/doe_guidelines.md +586 -0
- package/lib/skills/builtin/research-grants/references/nih_guidelines.md +851 -0
- package/lib/skills/builtin/research-grants/references/nsf_guidelines.md +570 -0
- package/lib/skills/builtin/research-grants/references/nstc_guidelines.md +733 -0
- package/lib/skills/builtin/research-grants/references/specific_aims_guide.md +458 -0
- package/lib/skills/builtin/rewrite-humanize/SKILL.md +116 -0
- package/lib/skills/builtin/rewrite-humanize/references/cs-venue-tone.md +57 -0
- package/lib/skills/builtin/rewrite-humanize/references/lexicon.md +50 -0
- package/lib/skills/builtin/scholar-evaluation/SKILL.md +300 -0
- package/lib/skills/builtin/scholar-evaluation/references/evaluation_framework.md +663 -0
- package/lib/skills/builtin/scholar-evaluation/scripts/calculate_scores.py +379 -0
- package/lib/skills/builtin/scientific-schematics/SKILL.md +603 -0
- package/lib/skills/builtin/scientific-schematics/references/QUICK_REFERENCE.md +182 -0
- package/lib/skills/builtin/scientific-schematics/references/README.md +292 -0
- package/lib/skills/builtin/scientific-schematics/references/best_practices.md +560 -0
- package/lib/skills/builtin/scientific-schematics/scripts/__pycache__/generate_schematic.cpython-312.pyc +0 -0
- package/lib/skills/builtin/scientific-schematics/scripts/__pycache__/generate_schematic_ai.cpython-312.pyc +0 -0
- package/lib/skills/builtin/scientific-schematics/scripts/example_usage.sh +85 -0
- package/lib/skills/builtin/scientific-schematics/scripts/generate_schematic.py +141 -0
- package/lib/skills/builtin/scientific-schematics/scripts/generate_schematic_ai.py +910 -0
- package/lib/skills/builtin/scientific-visualization/SKILL.md +749 -0
- package/lib/skills/builtin/scientific-visualization/assets/color_palettes.py +197 -0
- package/lib/skills/builtin/scientific-visualization/assets/nature.mplstyle +63 -0
- package/lib/skills/builtin/scientific-visualization/assets/presentation.mplstyle +61 -0
- package/lib/skills/builtin/scientific-visualization/assets/publication.mplstyle +68 -0
- package/lib/skills/builtin/scientific-visualization/references/color_palettes.md +348 -0
- package/lib/skills/builtin/scientific-visualization/references/journal_requirements.md +320 -0
- package/lib/skills/builtin/scientific-visualization/references/matplotlib_examples.md +620 -0
- package/lib/skills/builtin/scientific-visualization/references/publication_guidelines.md +205 -0
- package/lib/skills/builtin/scientific-visualization/scripts/figure_export.py +343 -0
- package/lib/skills/builtin/scientific-visualization/scripts/style_presets.py +416 -0
- package/lib/skills/builtin/scientific-writing/SKILL.md +745 -0
- package/lib/skills/builtin/scientific-writing/assets/REPORT_FORMATTING_GUIDE.md +574 -0
- package/lib/skills/builtin/scientific-writing/assets/scientific_report.sty +606 -0
- package/lib/skills/builtin/scientific-writing/assets/scientific_report_template.tex +449 -0
- package/lib/skills/builtin/scientific-writing/references/citation_styles.md +720 -0
- package/lib/skills/builtin/scientific-writing/references/figures_tables.md +806 -0
- package/lib/skills/builtin/scientific-writing/references/imrad_structure.md +686 -0
- package/lib/skills/builtin/scientific-writing/references/professional_report_formatting.md +664 -0
- package/lib/skills/builtin/scientific-writing/references/reporting_guidelines.md +748 -0
- package/lib/skills/builtin/scientific-writing/references/writing_principles.md +824 -0
- package/lib/skills/builtin/seaborn/SKILL.md +674 -0
- package/lib/skills/builtin/seaborn/references/examples.md +822 -0
- package/lib/skills/builtin/seaborn/references/function_reference.md +770 -0
- package/lib/skills/builtin/seaborn/references/objects_interface.md +964 -0
- package/lib/skills/data-analysis/SKILL.md +285 -0
- package/lib/skills/generate-skill-content.mjs +58 -0
- package/lib/skills/index.ts +34 -0
- package/lib/skills/loader.ts +452 -0
- package/package.json +62 -0
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Matplotlib Style Configurator
|
|
4
|
+
|
|
5
|
+
Interactive utility to configure matplotlib style preferences and generate
|
|
6
|
+
custom style sheets. Creates a preview of the style and optionally saves
|
|
7
|
+
it as a .mplstyle file.
|
|
8
|
+
|
|
9
|
+
Usage:
|
|
10
|
+
python style_configurator.py [--preset PRESET] [--output FILE] [--preview]
|
|
11
|
+
|
|
12
|
+
Presets:
|
|
13
|
+
publication, presentation, web, dark, minimal
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
import numpy as np
|
|
17
|
+
import matplotlib.pyplot as plt
|
|
18
|
+
from matplotlib.gridspec import GridSpec
|
|
19
|
+
import argparse
|
|
20
|
+
import os
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# Predefined style presets
|
|
24
|
+
STYLE_PRESETS = {
|
|
25
|
+
'publication': {
|
|
26
|
+
'figure.figsize': (8, 6),
|
|
27
|
+
'figure.dpi': 100,
|
|
28
|
+
'savefig.dpi': 300,
|
|
29
|
+
'savefig.bbox': 'tight',
|
|
30
|
+
'font.family': 'sans-serif',
|
|
31
|
+
'font.sans-serif': ['Arial', 'Helvetica'],
|
|
32
|
+
'font.size': 11,
|
|
33
|
+
'axes.labelsize': 12,
|
|
34
|
+
'axes.titlesize': 14,
|
|
35
|
+
'axes.linewidth': 1.5,
|
|
36
|
+
'axes.grid': False,
|
|
37
|
+
'axes.spines.top': False,
|
|
38
|
+
'axes.spines.right': False,
|
|
39
|
+
'lines.linewidth': 2,
|
|
40
|
+
'lines.markersize': 8,
|
|
41
|
+
'xtick.labelsize': 10,
|
|
42
|
+
'ytick.labelsize': 10,
|
|
43
|
+
'xtick.direction': 'in',
|
|
44
|
+
'ytick.direction': 'in',
|
|
45
|
+
'xtick.major.size': 6,
|
|
46
|
+
'ytick.major.size': 6,
|
|
47
|
+
'xtick.major.width': 1.5,
|
|
48
|
+
'ytick.major.width': 1.5,
|
|
49
|
+
'legend.fontsize': 10,
|
|
50
|
+
'legend.frameon': True,
|
|
51
|
+
'legend.framealpha': 1.0,
|
|
52
|
+
'legend.edgecolor': 'black',
|
|
53
|
+
},
|
|
54
|
+
'presentation': {
|
|
55
|
+
'figure.figsize': (12, 8),
|
|
56
|
+
'figure.dpi': 100,
|
|
57
|
+
'savefig.dpi': 150,
|
|
58
|
+
'font.size': 16,
|
|
59
|
+
'axes.labelsize': 20,
|
|
60
|
+
'axes.titlesize': 24,
|
|
61
|
+
'axes.linewidth': 2,
|
|
62
|
+
'lines.linewidth': 3,
|
|
63
|
+
'lines.markersize': 12,
|
|
64
|
+
'xtick.labelsize': 16,
|
|
65
|
+
'ytick.labelsize': 16,
|
|
66
|
+
'legend.fontsize': 16,
|
|
67
|
+
'axes.grid': True,
|
|
68
|
+
'grid.alpha': 0.3,
|
|
69
|
+
},
|
|
70
|
+
'web': {
|
|
71
|
+
'figure.figsize': (10, 6),
|
|
72
|
+
'figure.dpi': 96,
|
|
73
|
+
'savefig.dpi': 150,
|
|
74
|
+
'font.size': 11,
|
|
75
|
+
'axes.labelsize': 12,
|
|
76
|
+
'axes.titlesize': 14,
|
|
77
|
+
'lines.linewidth': 2,
|
|
78
|
+
'axes.grid': True,
|
|
79
|
+
'grid.alpha': 0.2,
|
|
80
|
+
'grid.linestyle': '--',
|
|
81
|
+
},
|
|
82
|
+
'dark': {
|
|
83
|
+
'figure.facecolor': '#1e1e1e',
|
|
84
|
+
'figure.edgecolor': '#1e1e1e',
|
|
85
|
+
'axes.facecolor': '#1e1e1e',
|
|
86
|
+
'axes.edgecolor': 'white',
|
|
87
|
+
'axes.labelcolor': 'white',
|
|
88
|
+
'text.color': 'white',
|
|
89
|
+
'xtick.color': 'white',
|
|
90
|
+
'ytick.color': 'white',
|
|
91
|
+
'grid.color': 'gray',
|
|
92
|
+
'grid.alpha': 0.3,
|
|
93
|
+
'axes.grid': True,
|
|
94
|
+
'legend.facecolor': '#1e1e1e',
|
|
95
|
+
'legend.edgecolor': 'white',
|
|
96
|
+
'savefig.facecolor': '#1e1e1e',
|
|
97
|
+
},
|
|
98
|
+
'minimal': {
|
|
99
|
+
'figure.figsize': (10, 6),
|
|
100
|
+
'axes.spines.top': False,
|
|
101
|
+
'axes.spines.right': False,
|
|
102
|
+
'axes.spines.left': False,
|
|
103
|
+
'axes.spines.bottom': False,
|
|
104
|
+
'axes.grid': False,
|
|
105
|
+
'xtick.bottom': True,
|
|
106
|
+
'ytick.left': True,
|
|
107
|
+
'axes.axisbelow': True,
|
|
108
|
+
'lines.linewidth': 2.5,
|
|
109
|
+
'font.size': 12,
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def generate_preview_data():
|
|
115
|
+
"""Generate sample data for style preview."""
|
|
116
|
+
np.random.seed(42)
|
|
117
|
+
x = np.linspace(0, 10, 100)
|
|
118
|
+
y1 = np.sin(x) + 0.1 * np.random.randn(100)
|
|
119
|
+
y2 = np.cos(x) + 0.1 * np.random.randn(100)
|
|
120
|
+
scatter_x = np.random.randn(100)
|
|
121
|
+
scatter_y = 2 * scatter_x + np.random.randn(100)
|
|
122
|
+
categories = ['A', 'B', 'C', 'D', 'E']
|
|
123
|
+
bar_values = [25, 40, 30, 55, 45]
|
|
124
|
+
|
|
125
|
+
return {
|
|
126
|
+
'x': x, 'y1': y1, 'y2': y2,
|
|
127
|
+
'scatter_x': scatter_x, 'scatter_y': scatter_y,
|
|
128
|
+
'categories': categories, 'bar_values': bar_values
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
def create_style_preview(style_dict=None):
|
|
133
|
+
"""Create a preview figure demonstrating the style."""
|
|
134
|
+
if style_dict:
|
|
135
|
+
plt.rcParams.update(style_dict)
|
|
136
|
+
|
|
137
|
+
data = generate_preview_data()
|
|
138
|
+
|
|
139
|
+
fig = plt.figure(figsize=(14, 10))
|
|
140
|
+
gs = GridSpec(2, 2, figure=fig, hspace=0.3, wspace=0.3)
|
|
141
|
+
|
|
142
|
+
# Line plot
|
|
143
|
+
ax1 = fig.add_subplot(gs[0, 0])
|
|
144
|
+
ax1.plot(data['x'], data['y1'], label='sin(x)', marker='o', markevery=10)
|
|
145
|
+
ax1.plot(data['x'], data['y2'], label='cos(x)', linestyle='--')
|
|
146
|
+
ax1.set_xlabel('X axis')
|
|
147
|
+
ax1.set_ylabel('Y axis')
|
|
148
|
+
ax1.set_title('Line Plot')
|
|
149
|
+
ax1.legend()
|
|
150
|
+
ax1.grid(True, alpha=0.3)
|
|
151
|
+
|
|
152
|
+
# Scatter plot
|
|
153
|
+
ax2 = fig.add_subplot(gs[0, 1])
|
|
154
|
+
colors = np.sqrt(data['scatter_x']**2 + data['scatter_y']**2)
|
|
155
|
+
scatter = ax2.scatter(data['scatter_x'], data['scatter_y'],
|
|
156
|
+
c=colors, cmap='viridis', alpha=0.6, s=50)
|
|
157
|
+
ax2.set_xlabel('X axis')
|
|
158
|
+
ax2.set_ylabel('Y axis')
|
|
159
|
+
ax2.set_title('Scatter Plot')
|
|
160
|
+
cbar = plt.colorbar(scatter, ax=ax2)
|
|
161
|
+
cbar.set_label('Distance')
|
|
162
|
+
ax2.grid(True, alpha=0.3)
|
|
163
|
+
|
|
164
|
+
# Bar chart
|
|
165
|
+
ax3 = fig.add_subplot(gs[1, 0])
|
|
166
|
+
bars = ax3.bar(data['categories'], data['bar_values'],
|
|
167
|
+
edgecolor='black', linewidth=1)
|
|
168
|
+
# Color bars with gradient
|
|
169
|
+
colors = plt.cm.viridis(np.linspace(0.2, 0.8, len(bars)))
|
|
170
|
+
for bar, color in zip(bars, colors):
|
|
171
|
+
bar.set_facecolor(color)
|
|
172
|
+
ax3.set_xlabel('Categories')
|
|
173
|
+
ax3.set_ylabel('Values')
|
|
174
|
+
ax3.set_title('Bar Chart')
|
|
175
|
+
ax3.grid(True, axis='y', alpha=0.3)
|
|
176
|
+
|
|
177
|
+
# Multiple line plot with fills
|
|
178
|
+
ax4 = fig.add_subplot(gs[1, 1])
|
|
179
|
+
ax4.plot(data['x'], data['y1'], label='Signal 1', linewidth=2)
|
|
180
|
+
ax4.fill_between(data['x'], data['y1'] - 0.2, data['y1'] + 0.2,
|
|
181
|
+
alpha=0.3, label='±1 std')
|
|
182
|
+
ax4.plot(data['x'], data['y2'], label='Signal 2', linewidth=2)
|
|
183
|
+
ax4.fill_between(data['x'], data['y2'] - 0.2, data['y2'] + 0.2,
|
|
184
|
+
alpha=0.3)
|
|
185
|
+
ax4.set_xlabel('X axis')
|
|
186
|
+
ax4.set_ylabel('Y axis')
|
|
187
|
+
ax4.set_title('Time Series with Uncertainty')
|
|
188
|
+
ax4.legend()
|
|
189
|
+
ax4.grid(True, alpha=0.3)
|
|
190
|
+
|
|
191
|
+
fig.suptitle('Style Preview', fontsize=16, fontweight='bold')
|
|
192
|
+
|
|
193
|
+
return fig
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
def save_style_file(style_dict, filename):
|
|
197
|
+
"""Save style dictionary as .mplstyle file."""
|
|
198
|
+
with open(filename, 'w') as f:
|
|
199
|
+
f.write("# Custom matplotlib style\n")
|
|
200
|
+
f.write("# Generated by style_configurator.py\n\n")
|
|
201
|
+
|
|
202
|
+
# Group settings by category
|
|
203
|
+
categories = {
|
|
204
|
+
'Figure': ['figure.'],
|
|
205
|
+
'Font': ['font.'],
|
|
206
|
+
'Axes': ['axes.'],
|
|
207
|
+
'Lines': ['lines.'],
|
|
208
|
+
'Markers': ['markers.'],
|
|
209
|
+
'Ticks': ['tick.', 'xtick.', 'ytick.'],
|
|
210
|
+
'Grid': ['grid.'],
|
|
211
|
+
'Legend': ['legend.'],
|
|
212
|
+
'Savefig': ['savefig.'],
|
|
213
|
+
'Text': ['text.'],
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
for category, prefixes in categories.items():
|
|
217
|
+
category_items = {k: v for k, v in style_dict.items()
|
|
218
|
+
if any(k.startswith(p) for p in prefixes)}
|
|
219
|
+
if category_items:
|
|
220
|
+
f.write(f"# {category}\n")
|
|
221
|
+
for key, value in sorted(category_items.items()):
|
|
222
|
+
# Format value appropriately
|
|
223
|
+
if isinstance(value, (list, tuple)):
|
|
224
|
+
value_str = ', '.join(str(v) for v in value)
|
|
225
|
+
elif isinstance(value, bool):
|
|
226
|
+
value_str = str(value)
|
|
227
|
+
else:
|
|
228
|
+
value_str = str(value)
|
|
229
|
+
f.write(f"{key}: {value_str}\n")
|
|
230
|
+
f.write("\n")
|
|
231
|
+
|
|
232
|
+
print(f"Style saved to {filename}")
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
def print_style_info(style_dict):
|
|
236
|
+
"""Print information about the style."""
|
|
237
|
+
print("\n" + "="*60)
|
|
238
|
+
print("STYLE CONFIGURATION")
|
|
239
|
+
print("="*60)
|
|
240
|
+
|
|
241
|
+
categories = {
|
|
242
|
+
'Figure Settings': ['figure.'],
|
|
243
|
+
'Font Settings': ['font.'],
|
|
244
|
+
'Axes Settings': ['axes.'],
|
|
245
|
+
'Line Settings': ['lines.'],
|
|
246
|
+
'Grid Settings': ['grid.'],
|
|
247
|
+
'Legend Settings': ['legend.'],
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
for category, prefixes in categories.items():
|
|
251
|
+
category_items = {k: v for k, v in style_dict.items()
|
|
252
|
+
if any(k.startswith(p) for p in prefixes)}
|
|
253
|
+
if category_items:
|
|
254
|
+
print(f"\n{category}:")
|
|
255
|
+
for key, value in sorted(category_items.items()):
|
|
256
|
+
print(f" {key}: {value}")
|
|
257
|
+
|
|
258
|
+
print("\n" + "="*60 + "\n")
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
def list_available_presets():
|
|
262
|
+
"""Print available style presets."""
|
|
263
|
+
print("\nAvailable style presets:")
|
|
264
|
+
print("-" * 40)
|
|
265
|
+
descriptions = {
|
|
266
|
+
'publication': 'Optimized for academic publications',
|
|
267
|
+
'presentation': 'Large fonts for presentations',
|
|
268
|
+
'web': 'Optimized for web display',
|
|
269
|
+
'dark': 'Dark background theme',
|
|
270
|
+
'minimal': 'Minimal, clean style',
|
|
271
|
+
}
|
|
272
|
+
for preset, desc in descriptions.items():
|
|
273
|
+
print(f" {preset:15s} - {desc}")
|
|
274
|
+
print("-" * 40 + "\n")
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
def interactive_mode():
|
|
278
|
+
"""Run interactive mode to customize style settings."""
|
|
279
|
+
print("\n" + "="*60)
|
|
280
|
+
print("MATPLOTLIB STYLE CONFIGURATOR - Interactive Mode")
|
|
281
|
+
print("="*60)
|
|
282
|
+
|
|
283
|
+
list_available_presets()
|
|
284
|
+
|
|
285
|
+
preset = input("Choose a preset to start from (or 'custom' for default): ").strip().lower()
|
|
286
|
+
|
|
287
|
+
if preset in STYLE_PRESETS:
|
|
288
|
+
style_dict = STYLE_PRESETS[preset].copy()
|
|
289
|
+
print(f"\nStarting from '{preset}' preset")
|
|
290
|
+
else:
|
|
291
|
+
style_dict = {}
|
|
292
|
+
print("\nStarting from default matplotlib style")
|
|
293
|
+
|
|
294
|
+
print("\nCommon settings you might want to customize:")
|
|
295
|
+
print(" 1. Figure size")
|
|
296
|
+
print(" 2. Font sizes")
|
|
297
|
+
print(" 3. Line widths")
|
|
298
|
+
print(" 4. Grid settings")
|
|
299
|
+
print(" 5. Color scheme")
|
|
300
|
+
print(" 6. Done, show preview")
|
|
301
|
+
|
|
302
|
+
while True:
|
|
303
|
+
choice = input("\nSelect option (1-6): ").strip()
|
|
304
|
+
|
|
305
|
+
if choice == '1':
|
|
306
|
+
width = input(" Figure width (inches, default 10): ").strip() or '10'
|
|
307
|
+
height = input(" Figure height (inches, default 6): ").strip() or '6'
|
|
308
|
+
style_dict['figure.figsize'] = (float(width), float(height))
|
|
309
|
+
|
|
310
|
+
elif choice == '2':
|
|
311
|
+
base = input(" Base font size (default 12): ").strip() or '12'
|
|
312
|
+
style_dict['font.size'] = float(base)
|
|
313
|
+
style_dict['axes.labelsize'] = float(base) + 2
|
|
314
|
+
style_dict['axes.titlesize'] = float(base) + 4
|
|
315
|
+
|
|
316
|
+
elif choice == '3':
|
|
317
|
+
lw = input(" Line width (default 2): ").strip() or '2'
|
|
318
|
+
style_dict['lines.linewidth'] = float(lw)
|
|
319
|
+
|
|
320
|
+
elif choice == '4':
|
|
321
|
+
grid = input(" Enable grid? (y/n): ").strip().lower()
|
|
322
|
+
style_dict['axes.grid'] = grid == 'y'
|
|
323
|
+
if style_dict['axes.grid']:
|
|
324
|
+
alpha = input(" Grid transparency (0-1, default 0.3): ").strip() or '0.3'
|
|
325
|
+
style_dict['grid.alpha'] = float(alpha)
|
|
326
|
+
|
|
327
|
+
elif choice == '5':
|
|
328
|
+
print(" Theme options: 1=Light, 2=Dark")
|
|
329
|
+
theme = input(" Select theme (1-2): ").strip()
|
|
330
|
+
if theme == '2':
|
|
331
|
+
style_dict.update(STYLE_PRESETS['dark'])
|
|
332
|
+
|
|
333
|
+
elif choice == '6':
|
|
334
|
+
break
|
|
335
|
+
|
|
336
|
+
return style_dict
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
def main():
|
|
340
|
+
"""Main function."""
|
|
341
|
+
parser = argparse.ArgumentParser(
|
|
342
|
+
description='Matplotlib style configurator',
|
|
343
|
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
344
|
+
epilog="""
|
|
345
|
+
Examples:
|
|
346
|
+
# Show available presets
|
|
347
|
+
python style_configurator.py --list
|
|
348
|
+
|
|
349
|
+
# Preview a preset
|
|
350
|
+
python style_configurator.py --preset publication --preview
|
|
351
|
+
|
|
352
|
+
# Save a preset as .mplstyle file
|
|
353
|
+
python style_configurator.py --preset publication --output my_style.mplstyle
|
|
354
|
+
|
|
355
|
+
# Interactive mode
|
|
356
|
+
python style_configurator.py --interactive
|
|
357
|
+
"""
|
|
358
|
+
)
|
|
359
|
+
parser.add_argument('--preset', type=str, choices=list(STYLE_PRESETS.keys()),
|
|
360
|
+
help='Use a predefined style preset')
|
|
361
|
+
parser.add_argument('--output', type=str,
|
|
362
|
+
help='Save style to .mplstyle file')
|
|
363
|
+
parser.add_argument('--preview', action='store_true',
|
|
364
|
+
help='Show style preview')
|
|
365
|
+
parser.add_argument('--list', action='store_true',
|
|
366
|
+
help='List available presets')
|
|
367
|
+
parser.add_argument('--interactive', action='store_true',
|
|
368
|
+
help='Run in interactive mode')
|
|
369
|
+
|
|
370
|
+
args = parser.parse_args()
|
|
371
|
+
|
|
372
|
+
if args.list:
|
|
373
|
+
list_available_presets()
|
|
374
|
+
# Also show currently available matplotlib styles
|
|
375
|
+
print("\nBuilt-in matplotlib styles:")
|
|
376
|
+
print("-" * 40)
|
|
377
|
+
for style in sorted(plt.style.available):
|
|
378
|
+
print(f" {style}")
|
|
379
|
+
return
|
|
380
|
+
|
|
381
|
+
if args.interactive:
|
|
382
|
+
style_dict = interactive_mode()
|
|
383
|
+
elif args.preset:
|
|
384
|
+
style_dict = STYLE_PRESETS[args.preset].copy()
|
|
385
|
+
print(f"Using '{args.preset}' preset")
|
|
386
|
+
else:
|
|
387
|
+
print("No preset or interactive mode specified. Showing default preview.")
|
|
388
|
+
style_dict = {}
|
|
389
|
+
|
|
390
|
+
if style_dict:
|
|
391
|
+
print_style_info(style_dict)
|
|
392
|
+
|
|
393
|
+
if args.output:
|
|
394
|
+
save_style_file(style_dict, args.output)
|
|
395
|
+
|
|
396
|
+
if args.preview or args.interactive:
|
|
397
|
+
print("Creating style preview...")
|
|
398
|
+
fig = create_style_preview(style_dict if style_dict else None)
|
|
399
|
+
|
|
400
|
+
if args.output:
|
|
401
|
+
preview_filename = args.output.replace('.mplstyle', '_preview.png')
|
|
402
|
+
plt.savefig(preview_filename, dpi=150, bbox_inches='tight')
|
|
403
|
+
print(f"Preview saved to {preview_filename}")
|
|
404
|
+
|
|
405
|
+
plt.show()
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
if __name__ == "__main__":
|
|
409
|
+
main()
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research-grants
|
|
3
|
+
description: Plan and draft grant proposals with agency-aware structure, compliance checks, and reviewer-oriented framing.
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- skill-script-run
|
|
6
|
+
id: research-grants
|
|
7
|
+
shortDescription: Grant proposal workflow for scope design, compliance checks, and draft assembly
|
|
8
|
+
loadingStrategy: lazy
|
|
9
|
+
tools:
|
|
10
|
+
- skill-script-run
|
|
11
|
+
tags:
|
|
12
|
+
- community
|
|
13
|
+
- grants
|
|
14
|
+
- proposal
|
|
15
|
+
meta:
|
|
16
|
+
approvedByUser: true
|
|
17
|
+
upstream:
|
|
18
|
+
repo: https://github.com/K-Dense-AI/claude-scientific-writer
|
|
19
|
+
path: skills/research-grants
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Summary
|
|
23
|
+
Use this skill to build fundable grant drafts that are specific, compliant, and reviewer-readable.
|
|
24
|
+
|
|
25
|
+
## Procedures
|
|
26
|
+
1. Initialize a proposal folder with standard sections for the target agency.
|
|
27
|
+
2. Draft problem statement, aims, methods, milestones, risk mitigation, and evaluation.
|
|
28
|
+
3. Run compliance checks (word/page budgets, required sections, format constraints).
|
|
29
|
+
4. Produce a reviewer-oriented summary that maps each requirement to evidence in the draft.
|
|
30
|
+
|
|
31
|
+
## Scripts
|
|
32
|
+
- `init-grant-structure`: Scaffold proposal markdown files by agency.
|
|
33
|
+
- `check-grant-compliance`: Quick section/length checks.
|
|
34
|
+
- `grant-summary-card`: Build a one-page review summary from draft files.
|
|
35
|
+
|
|
36
|
+
## Notes
|
|
37
|
+
- Keep claims measurable and verifiable.
|
|
38
|
+
- Tie deliverables to timeline and budget assumptions.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
if [ "$#" -lt 1 ]; then
|
|
5
|
+
echo "Usage: check-grant-compliance.sh <proposal-dir>" >&2
|
|
6
|
+
exit 1
|
|
7
|
+
fi
|
|
8
|
+
|
|
9
|
+
PROPOSAL_DIR="$1"
|
|
10
|
+
REQUIRED_FILES=(
|
|
11
|
+
"00-overview.md"
|
|
12
|
+
"01-specific-aims.md"
|
|
13
|
+
"02-methods.md"
|
|
14
|
+
"03-risks-mitigation.md"
|
|
15
|
+
"04-timeline-budget.md"
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
missing=0
|
|
19
|
+
for file in "${REQUIRED_FILES[@]}"; do
|
|
20
|
+
if [ ! -f "$PROPOSAL_DIR/$file" ]; then
|
|
21
|
+
echo "missing: $file"
|
|
22
|
+
missing=$((missing + 1))
|
|
23
|
+
fi
|
|
24
|
+
done
|
|
25
|
+
|
|
26
|
+
total_words=0
|
|
27
|
+
for file in "$PROPOSAL_DIR"/*.md; do
|
|
28
|
+
[ -f "$file" ] || continue
|
|
29
|
+
words="$(wc -w < "$file" | awk '{print $1}')"
|
|
30
|
+
total_words=$((total_words + words))
|
|
31
|
+
echo "$(basename "$file"): ${words} words"
|
|
32
|
+
done
|
|
33
|
+
|
|
34
|
+
echo "total_words: $total_words"
|
|
35
|
+
if [ "$missing" -gt 0 ]; then
|
|
36
|
+
echo "compliance check failed: missing ${missing} required files" >&2
|
|
37
|
+
exit 2
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
echo "compliance check passed"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
if [ "$#" -lt 2 ]; then
|
|
5
|
+
echo "Usage: grant-summary-card.sh <proposal-dir> <output-file>" >&2
|
|
6
|
+
exit 1
|
|
7
|
+
fi
|
|
8
|
+
|
|
9
|
+
PROPOSAL_DIR="$1"
|
|
10
|
+
OUTPUT_FILE="$2"
|
|
11
|
+
|
|
12
|
+
{
|
|
13
|
+
echo "# Grant Summary Card"
|
|
14
|
+
echo
|
|
15
|
+
echo "Generated: $(date -u '+%Y-%m-%dT%H:%M:%SZ')"
|
|
16
|
+
echo
|
|
17
|
+
for file in \
|
|
18
|
+
"00-overview.md" \
|
|
19
|
+
"01-specific-aims.md" \
|
|
20
|
+
"02-methods.md" \
|
|
21
|
+
"03-risks-mitigation.md" \
|
|
22
|
+
"04-timeline-budget.md"; do
|
|
23
|
+
target="$PROPOSAL_DIR/$file"
|
|
24
|
+
if [ -f "$target" ]; then
|
|
25
|
+
echo "## ${file}"
|
|
26
|
+
sed -n '1,40p' "$target"
|
|
27
|
+
echo
|
|
28
|
+
fi
|
|
29
|
+
done
|
|
30
|
+
} > "$OUTPUT_FILE"
|
|
31
|
+
|
|
32
|
+
echo "summary card written to $OUTPUT_FILE"
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -euo pipefail
|
|
3
|
+
|
|
4
|
+
if [ "$#" -lt 1 ]; then
|
|
5
|
+
echo "Usage: init-grant-structure.sh <target-dir> [agency]" >&2
|
|
6
|
+
exit 1
|
|
7
|
+
fi
|
|
8
|
+
|
|
9
|
+
TARGET_DIR="$1"
|
|
10
|
+
AGENCY="${2:-generic}"
|
|
11
|
+
|
|
12
|
+
mkdir -p "$TARGET_DIR"
|
|
13
|
+
|
|
14
|
+
cat > "$TARGET_DIR/00-overview.md" <<EOF
|
|
15
|
+
# Proposal Overview
|
|
16
|
+
|
|
17
|
+
Agency: ${AGENCY}
|
|
18
|
+
|
|
19
|
+
## Problem
|
|
20
|
+
|
|
21
|
+
## Why now
|
|
22
|
+
|
|
23
|
+
## Expected impact
|
|
24
|
+
EOF
|
|
25
|
+
|
|
26
|
+
cat > "$TARGET_DIR/01-specific-aims.md" <<'EOF'
|
|
27
|
+
# Specific Aims
|
|
28
|
+
|
|
29
|
+
## Aim 1
|
|
30
|
+
- Hypothesis:
|
|
31
|
+
- Method:
|
|
32
|
+
- Milestone:
|
|
33
|
+
|
|
34
|
+
## Aim 2
|
|
35
|
+
- Hypothesis:
|
|
36
|
+
- Method:
|
|
37
|
+
- Milestone:
|
|
38
|
+
EOF
|
|
39
|
+
|
|
40
|
+
cat > "$TARGET_DIR/02-methods.md" <<'EOF'
|
|
41
|
+
# Methods and Technical Plan
|
|
42
|
+
|
|
43
|
+
## Study design
|
|
44
|
+
|
|
45
|
+
## Data and infrastructure
|
|
46
|
+
|
|
47
|
+
## Validation and evaluation
|
|
48
|
+
EOF
|
|
49
|
+
|
|
50
|
+
cat > "$TARGET_DIR/03-risks-mitigation.md" <<'EOF'
|
|
51
|
+
# Risks and Mitigation
|
|
52
|
+
|
|
53
|
+
## Technical risks
|
|
54
|
+
|
|
55
|
+
## Programmatic risks
|
|
56
|
+
|
|
57
|
+
## Fallback plans
|
|
58
|
+
EOF
|
|
59
|
+
|
|
60
|
+
cat > "$TARGET_DIR/04-timeline-budget.md" <<'EOF'
|
|
61
|
+
# Timeline and Budget Rationale
|
|
62
|
+
|
|
63
|
+
## Timeline (quarterly milestones)
|
|
64
|
+
|
|
65
|
+
## Budget categories
|
|
66
|
+
|
|
67
|
+
## Budget justification
|
|
68
|
+
EOF
|
|
69
|
+
|
|
70
|
+
echo "grant structure initialized in $TARGET_DIR"
|
package/app/package.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@research-copilot/app",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"description": "AI-powered research assistant desktop application",
|
|
6
|
+
"main": "./out/main/index.mjs",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "electron-vite dev",
|
|
9
|
+
"build": "electron-vite build",
|
|
10
|
+
"preview": "electron-vite preview",
|
|
11
|
+
"icon:generate": "python3 scripts/generate-app-icon.py",
|
|
12
|
+
"pack": "electron-vite build && electron-builder --mac"
|
|
13
|
+
},
|
|
14
|
+
"author": "Research Copilot",
|
|
15
|
+
"build": {
|
|
16
|
+
"appId": "com.research-copilot.app",
|
|
17
|
+
"productName": "Research Copilot",
|
|
18
|
+
"electronVersion": "33.4.11",
|
|
19
|
+
"mac": {
|
|
20
|
+
"target": "dmg",
|
|
21
|
+
"category": "public.app-category.productivity",
|
|
22
|
+
"identity": null
|
|
23
|
+
},
|
|
24
|
+
"directories": {
|
|
25
|
+
"output": "release"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"out/**/*",
|
|
29
|
+
"node_modules/**/*"
|
|
30
|
+
],
|
|
31
|
+
"extraResources": [
|
|
32
|
+
{
|
|
33
|
+
"from": "../lib/skills/builtin",
|
|
34
|
+
"to": "skills/builtin",
|
|
35
|
+
"filter": ["**/*"]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"from": "../lib/skills/data-analysis",
|
|
39
|
+
"to": "skills/data-analysis",
|
|
40
|
+
"filter": ["**/*"]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@mariozechner/pi-agent-core": "^0.61.1",
|
|
46
|
+
"@mariozechner/pi-ai": "^0.61.1",
|
|
47
|
+
"@mariozechner/pi-coding-agent": "^0.61.1",
|
|
48
|
+
"@milkdown/plugin-diagram": "^7.7.0",
|
|
49
|
+
"@milkdown/react": "^7.18.0",
|
|
50
|
+
"@sinclair/typebox": "^0.34.48",
|
|
51
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
52
|
+
"@xterm/addon-web-links": "^0.12.0",
|
|
53
|
+
"@xterm/xterm": "^6.0.0",
|
|
54
|
+
"adm-zip": "^0.5.16",
|
|
55
|
+
"katex": "^0.16.28",
|
|
56
|
+
"lucide-react": "^0.469.0",
|
|
57
|
+
"mermaid": "^11.12.2",
|
|
58
|
+
"node-pty": "^1.1.0",
|
|
59
|
+
"react": "^19.0.0",
|
|
60
|
+
"react-dom": "^19.0.0",
|
|
61
|
+
"react-markdown": "^9.0.3",
|
|
62
|
+
"remark-gfm": "^4.0.0",
|
|
63
|
+
"zustand": "^5.0.3"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@electron-toolkit/utils": "^4.0.0",
|
|
67
|
+
"@tailwindcss/vite": "^4.0.0",
|
|
68
|
+
"@types/adm-zip": "^0.5.8",
|
|
69
|
+
"@types/react": "^19.0.0",
|
|
70
|
+
"@types/react-dom": "^19.0.0",
|
|
71
|
+
"electron": "^33.3.1",
|
|
72
|
+
"electron-builder": "^26.8.1",
|
|
73
|
+
"electron-vite": "^5.0.0",
|
|
74
|
+
"tailwindcss": "^4.0.0",
|
|
75
|
+
"typescript": "^5.7.0"
|
|
76
|
+
}
|
|
77
|
+
}
|