MCPcopy Index your code
hub / github.com/ChinaSiro/claude-code-sourcemap / rQ_

Function rQ_

package/cli.js:1372–1372  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

1370`);let $=new Set,A=[];for(let X=0;X<q.length;X++){let P=q[X];if(P.type==="prompt"&&P.source==="bundled")$.add(X);else A.push(P)}let O=z.reduce((X,P,W)=>$.has(W)?X+O1(P.full)+1:X,0),w=_-O;if(A.length===0)return z.map((X)=>X.full).join(`
1371`);let j=A.reduce((X,P)=>X+O1(P.name)+4,0)+(A.length-1),H=w-j,J=Math.floor(H/A.length);if(J<iQ_)return q.map((X,P)=>$.has(P)?z[P].full:`- ${X.name}`).join(`
1372`);let M=$7(A,(X)=>O1(Nx1(X))>J);return q.map((X,P)=>{if($.has(P))return z[P].full;let W=Nx1(X);return`- ${X.name}: ${d5(W,J)}`}).join(`
1373`)}async function Ex1(q){let K=await NC(q);return{totalCommands:K.length,includedCommands:K.length}}function Lx1(q){return NC(q)}function Rx1(){fk8.cache?.clear?.()}async function rQ_(q){try{let K=await EO6(q);return{totalSkills:K.length,includedSkills:K.length}}catch(K){return H6(x1(K)),{totalSkills:0,includedSkills:0}}}var t24=0.01,e24=4,qj4=8000,Vx1=250,iQ_=20,fk8;var yO6=y(()=>{VW6();yA();RY();Q5();k8();_8();y8();U7();E8();fk8=_1(async(q)=>{return`Execute a skill within the main conversation
1374
1375When users ask you to perform tasks, check if any of the available skills match. Skills provide specialized capabilities and domain knowledge.

Callers

nothing calls this directly

Calls 2

H6Function · 0.85
x1Function · 0.85

Tested by

no test coverage detected