I am writing custom activity for sharepoint workflow and I don\'t know how I can use current workflow item, SPWeb or SPSite.
I see http://blogs.microsoft.co.il/blogs/dav
I'm not sure if this is a change in the 2010 API but the __Context property provides all the necessary pieces, including the list and item. The example below includes @davek's suggestion for discarding the security context:
var contextWeb = __Context.Web;
var site = new SPSite(contextWeb.Url);
var web = site.OpenWeb();
var list = web.Lists[new Guid(__Context.ListId)];
var item = list.GetItemById( __Context.ItemId);