> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # cleanup > Release resources when the skill is removed or the agent shuts down. Called when the skill is removed or the agent shuts down. Override to release resources, close connections, cancel background tasks, etc. Takes no parameters. ## **Returns** `Promise` ## **Example** ```typescript {2} class MySkill extends SkillBase { async cleanup(): Promise { // Release resources, close connections console.log('Skill cleaned up'); } } ``` > Release resources when the skill is removed or the agent shuts down.